🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57894

Re: shared libraries

#57894
From: Jamie Lenehan
Date: Sun, 11 Aug 1996 00:00
24 lines
1290 bytes
In article <320D2DFF.1C106C75@extro.ucc.su.oz.au>,
Colin Irwin  <cirwin@extro.ucc.su.oz.au> wrote:
>I'm having trouble compiling programs which use shared libraries under
>Xwindows. I've read all the man pages available and as far as I can work
>out, is that if a shared library is available and the -l option is used
>during the compiling process the shared library is used.
>
[...]

Make sure that you have a .so version of all the X libraries:

    libX11.so -> libX11.so.6
    libX11.so.6 -> libX11.so.6.0
    libX11.so.6.0

If you don't have the .so -> .so.6 symlink then the linker won't find the
shared library. (These links say which shared library you want linked in and
they are not created automatically.)

And if your not using ELF then you can ignore this.
-- 
 Jamie Lenehan
 lenehan@nynaeve.apana.org.au (Home)          lenehan@cs.latrobe.edu.au (Work)
Technical Details
Message-ID: <4ujkt6$68@nynaeve.apana.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <320D2DFF.1C106C75@extro.ucc.su.oz.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,beda28fcb25d019b
X-Google-Attributes: gid102983,public
From: lenehan@nynaeve.apana.org.au (Jamie Lenehan)
Subject: Re: shared libraries
Date: 1996/08/11
Message-ID: <4ujkt6$68@nynaeve.apana.org.au>
X-Deja-AN: 173514367
references: <320D2DFF.1C106C75@extro.ucc.su.oz.au>
organization: none
newsgroups: aus.computers.linux