Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Greetings, 

    I'm having serious difficulties getting certain items to compile.  
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=link 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     

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.  

I don't feel that this is an ID-10-T (read idiot) error on my part.  At least I hope it's not.  
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

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.2106.6"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Greetings, </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp; I'm having serious difficulties getting 
certain items to compile.&nbsp; </FONT></DIV>
<DIV><FONT size=2>I'm using FreeBSD/3.1-RELEASE with the upgrade package 
installed.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Everything is pretty much standard issue release and portwise 
there.&nbsp; 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.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>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.&nbsp; (Our proxy's methods are so obscure CVSuping seems a pipe 
dream).</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>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.&nbsp; Sure enough lgif is listed.&nbsp; So I downloaded the 
latest imlib-1.9.4 and began it's configure.&nbsp; The configure goes without a 
hitch, finding every library and include it needs to enable full internal 
graphics support.&nbsp; Upon doing a gmake (version 3.66) however, I get 
something like this...</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>fdho-wx# gmake<BR>gmake&nbsp; all-recursive<BR>gmake[1]: 
Entering directory `/usr/fdho-w5/imlib-1.9.4'<BR>Making all in 
gdk_imlib<BR>gmake[2]: Entering directory 
`/usr/fdho-w5/imlib-1.9.4/gdk_imlib'<BR>/bin/sh ../libtool --mode=link gcc&nbsp; 
-g -O2&nbsp; -o libimlib-gif.la -rpath /usr/loca<BR>rm -fr .libs/libimlib-gif.la 
.libs/libimlib-gif.* .libs/libimlib-gif.*<BR>gcc -shared -Wl,-soname 
-Wl,libimlib-gif.so.0 -o .libs/libimlib-gif.so.0&nbsp; 
io-gi<BR>/usr/libexec/elf/ld: cannot open -lgif: No such file or 
directory<BR>gmake[2]: *** [libimlib-gif.la] Error 1<BR>gmake[2]: Leaving 
directory `/usr/fdho-w5/imlib-1.9.4/gdk_imlib'<BR>gmake[1]: *** [all-recursive] 
Error 1<BR>gmake[1]: Leaving directory `/usr/fdho-w5/imlib-1.9.4'<BR>gmake: *** 
[all-recursive-am] Error 2&nbsp;&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>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.&nbsp; 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.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>At that point the libraries are entered into the hints file as 
aout libraries.&nbsp; 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.&nbsp; Keep in mind that I rm -fR imlib every time I try something new 
just to make sure I've got a clean slate.&nbsp; </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT><FONT color=#000000 size=2>I don't feel that this is an 
ID-10-T (read idiot) error on my part.&nbsp; At least I hope it's not.&nbsp; 
</FONT></DIV>
<DIV><FONT size=2>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.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>If you have ANY advice PLEASE give it to me no matter how 
offbase it may seem.&nbsp; I'm feeling the hurt!</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Tony</FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701be721e$ff2babb0$f548c58d>