From owner-freebsd-questions Fri Mar 19 7:42:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from voyager.c-com.net (voyager.c-com.net [209.127.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 4CBFD14F5E for ; Fri, 19 Mar 1999 07:42:07 -0800 (PST) (envelope-from tbrock@mail.phoenix.net) Received: from ho30032880 (dial38.as1.c-com.net [209.127.52.48]) by voyager.c-com.net (8.9.1/8.9.1) with SMTP id JAA15456 for ; Fri, 19 Mar 1999 09:41:46 -0600 (CST) Message-ID: <000701be721e$ff2babb0$f548c58d@ho30032880.fdnet.com> From: "Tony" To: Subject: ldconfig, libs, elf, aout, ports, headaches, pains and sorrow Date: Fri, 19 Mar 1999 09:41:40 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01BE71EC.B0E8A610" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0004_01BE71EC.B0E8A610 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greetings,=20 I'm having serious difficulties getting certain items to compile. =20 I'm using FreeBSD/3.1-RELEASE with the upgrade package installed. Everything is pretty much standard issue release and portwise there. My = goal was to install gnome 1.0.1 so I began installing all of the = required programs such as db, docbook, xpm, png, tiff, jpeg, gif, imlib, = etc. I like to stay current with source releases but if versions aren't too = far off between a port and any source I can find I'll stick with the = port. (Our proxy's methods are so obscure CVSuping seems a pipe dream). I make'ed and make install'ed the giflib port which is 3.0 and double = checked that ldconfig could see the library in it's hint file via = ldconfig -elf -r. Sure enough lgif is listed. So I downloaded the = latest imlib-1.9.4 and began it's configure. The configure goes without = a hitch, finding every library and include it needs to enable full = internal graphics support. Upon doing a gmake (version 3.66) however, I = get something like this... fdho-wx# gmake gmake all-recursive gmake[1]: Entering directory `/usr/fdho-w5/imlib-1.9.4' Making all in gdk_imlib gmake[2]: Entering directory `/usr/fdho-w5/imlib-1.9.4/gdk_imlib' /bin/sh ../libtool --mode=3Dlink gcc -g -O2 -o libimlib-gif.la -rpath = /usr/loca rm -fr .libs/libimlib-gif.la .libs/libimlib-gif.* .libs/libimlib-gif.* gcc -shared -Wl,-soname -Wl,libimlib-gif.so.0 -o .libs/libimlib-gif.so.0 = io-gi /usr/libexec/elf/ld: cannot open -lgif: No such file or directory gmake[2]: *** [libimlib-gif.la] Error 1 gmake[2]: Leaving directory `/usr/fdho-w5/imlib-1.9.4/gdk_imlib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/fdho-w5/imlib-1.9.4' gmake: *** [all-recursive-am] Error 2 =20 I've gone through the whole routine of uninstalling giflib and = downloading the latest 4.X release of it, configuring it and installing = it etc. Every time this version compiles it appears I end up with an = aout version of the library as the only way ldconfig notices it is by = specifying ldconfig -aout -m /usr/local/lib. At that point the libraries are entered into the hints file as aout = libraries. I was thinking, okay, they are aout, let's work from there = so I tried gmaking imlib again and got the same error message that it = could not be loaded. Keep in mind that I rm -fR imlib every time I try = something new just to make sure I've got a clean slate. =20 I don't feel that this is an ID-10-T (read idiot) error on my part. At = least I hope it's not. =20 I've pretty much exhausted every last available brain cell on getting = this thing pulled together into my elf based system and could seriously = use any advice anyone has to offer. If you have ANY advice PLEASE give it to me no matter how offbase it may = seem. I'm feeling the hurt! Tony ------=_NextPart_000_0004_01BE71EC.B0E8A610 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Greetings,
 
    I'm having serious difficulties = getting=20 certain items to compile. 
I'm using FreeBSD/3.1-RELEASE with the upgrade = package=20 installed.
 
Everything is pretty much standard issue release and = portwise=20 there.  My goal was to install gnome 1.0.1 so I began installing = all of the=20 required programs such as db, docbook, xpm, png, tiff, jpeg, gif, imlib, = etc.
 
I like to stay current with source releases but if = versions=20 aren't too far off between a port and any source I can find I'll stick = with the=20 port.  (Our proxy's methods are so obscure CVSuping seems a pipe=20 dream).
 
I make'ed and make install'ed the giflib port which = is 3.0 and=20 double checked that ldconfig could see the library in it's hint file via = ldconfig -elf -r.  Sure enough lgif is listed.  So I = downloaded the=20 latest imlib-1.9.4 and began it's configure.  The configure goes = without a=20 hitch, finding every library and include it needs to enable full = internal=20 graphics support.  Upon doing a gmake (version 3.66) however, I get = something like this...
 
fdho-wx# gmake
gmake  = all-recursive
gmake[1]:=20 Entering directory `/usr/fdho-w5/imlib-1.9.4'
Making all in=20 gdk_imlib
gmake[2]: Entering directory=20 `/usr/fdho-w5/imlib-1.9.4/gdk_imlib'
/bin/sh ../libtool --mode=3Dlink = gcc =20 -g -O2  -o libimlib-gif.la -rpath /usr/loca
rm -fr = .libs/libimlib-gif.la=20 .libs/libimlib-gif.* .libs/libimlib-gif.*
gcc -shared -Wl,-soname=20 -Wl,libimlib-gif.so.0 -o .libs/libimlib-gif.so.0 =20 io-gi
/usr/libexec/elf/ld: cannot open -lgif: No such file or=20 directory
gmake[2]: *** [libimlib-gif.la] Error 1
gmake[2]: = Leaving=20 directory `/usr/fdho-w5/imlib-1.9.4/gdk_imlib'
gmake[1]: *** = [all-recursive]=20 Error 1
gmake[1]: Leaving directory = `/usr/fdho-w5/imlib-1.9.4'
gmake: ***=20 [all-recursive-am] Error 2    
 
I've gone through the whole routine of uninstalling = giflib and=20 downloading the latest 4.X release of it, configuring it and installing = it=20 etc.  Every time this version compiles it appears I end up with an = aout=20 version of the library as the only way ldconfig notices it is by = specifying=20 ldconfig -aout -m /usr/local/lib.
 
At that point the libraries are entered into the = hints file as=20 aout libraries.  I was thinking, okay, they are aout, let's work = from there=20 so I tried gmaking imlib again and got the same error message that it = could not=20 be loaded.  Keep in mind that I rm -fR imlib every time I try = something new=20 just to make sure I've got a clean slate. 
 
I don't feel = that this is an=20 ID-10-T (read idiot) error on my part.  At least I hope it's = not. =20
I've pretty much exhausted every last available = brain cell on=20 getting this thing pulled together into my elf based system and could = seriously=20 use any advice anyone has to offer.
 
If you have ANY advice PLEASE give it to me no = matter how=20 offbase it may seem.  I'm feeling the hurt!
 
Tony
------=_NextPart_000_0004_01BE71EC.B0E8A610-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message