Date: Fri, 19 Mar 1999 09:41:40 -0600 From: "Tony" <tbrock@mail.phoenix.net> To: <freebsd-questions@FreeBSD.ORG> Subject: ldconfig, libs, elf, aout, ports, headaches, pains and sorrow Message-ID: <000701be721e$ff2babb0$f548c58d@ho30032880.fdnet.com>
next in thread | raw e-mail | index | archive | help
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.2106.6"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Greetings, </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2> I'm having serious difficulties =
getting=20
certain items to compile. </FONT></DIV>
<DIV><FONT size=3D2>I'm using FreeBSD/3.1-RELEASE with the upgrade =
package=20
installed.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>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.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>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).</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>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...</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>fdho-wx# gmake<BR>gmake =
all-recursive<BR>gmake[1]:=20
Entering directory `/usr/fdho-w5/imlib-1.9.4'<BR>Making all in=20
gdk_imlib<BR>gmake[2]: Entering directory=20
`/usr/fdho-w5/imlib-1.9.4/gdk_imlib'<BR>/bin/sh ../libtool --mode=3Dlink =
gcc =20
-g -O2 -o libimlib-gif.la -rpath /usr/loca<BR>rm -fr =
.libs/libimlib-gif.la=20
.libs/libimlib-gif.* .libs/libimlib-gif.*<BR>gcc -shared -Wl,-soname=20
-Wl,libimlib-gif.so.0 -o .libs/libimlib-gif.so.0 =20
io-gi<BR>/usr/libexec/elf/ld: cannot open -lgif: No such file or=20
directory<BR>gmake[2]: *** [libimlib-gif.la] Error 1<BR>gmake[2]: =
Leaving=20
directory `/usr/fdho-w5/imlib-1.9.4/gdk_imlib'<BR>gmake[1]: *** =
[all-recursive]=20
Error 1<BR>gmake[1]: Leaving directory =
`/usr/fdho-w5/imlib-1.9.4'<BR>gmake: ***=20
[all-recursive-am] Error 2 </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>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.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>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. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT><FONT color=3D#000000 size=3D2>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
</FONT></DIV>
<DIV><FONT size=3D2>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.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>If you have ANY advice PLEASE give it to me no =
matter how=20
offbase it may seem. I'm feeling the hurt!</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Tony</FONT></DIV></BODY></HTML>
------=_NextPart_000_0004_01BE71EC.B0E8A610--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701be721e$ff2babb0$f548c58d>
