Re: Solaris8 compiling problem : ld: fatal: library -ldl: not found
Brought to you by:
set
From: Ivan B. <ib...@ad...> - 2006-12-22 23:27:08
|
Hello. El 22/12/06 12:01, Yannick Mercier escribi=F3: > =20 > On 12/21/06, *Ivan Baldo* <ib...@ad...=20 > <mailto:ib...@ad...>> wrote: > =20 > > > I didnt <make install> tvision, I thought that was not required since > the setedit's <./configure> looks for tvision in ../tvision by=20 > default, thats why > I just stop at make for tvision, let me know if the make install is=20 > required > > > =20 You are right, is not required. > Does your linker know about the /usr/local/lib path? Does it fin= d > libraries there? > > =20 > > How can I find that out ? I have set the /usr/local/lib path first=20 > in the LD_LIBRARY_PATH > environment variable but I dont know if that does it for the linker Good question, but I want to know another detail before looking into=20 this further: whats the output of the command ls /lib/libncurses* ? If there is an ncurses library then maybe it is conflicting with the=20 one on /usr/local/lib, is better to not mix different libraries. If you=20 don't have an ncurses library on /lib then we know that your linker is=20 finding libraries on /usr/local/lib so no problem. > =20 > > Here is the output, is that correct ? : > root > pwd > /export/home/ymercier/setedit/setedit/contrib/tvision > root > ./rhtv-config --dlibs > -lrhtv > root > > Yes, thats correct. > > I make, and at the end I get this error: > > > > > > > > g++ -L/opt/tvision/lib > > -L/export/home/ymercier/setedit/setedit/contrib/tvision/makes > > -L../libbzip2 -L../libpcre -L. -L. -DFOR_EDITOR -o editor.exe > > obj/accehtml.o obj/advice.o obj/ampdiag.o obj/intermp3.o > obj/mp3list.o > > obj/mp3play.o obj/ascii.o obj/boardmix.o obj/bufun.o obj/calcu.o > > obj/calendar.o obj/ceditor.o obj/codepage.o obj/completi.o > obj/debug.o > > obj/deedidia.o obj/doedidia.o obj/dskascii.o obj/dskcalen.o > > obj/dskclip.o obj/dskclose.o obj/dskedito.o obj/dskhelp.o > obj/dskman.o > > obj/dskmessa.o obj/dskmp3.o obj/dskwin.o obj/dstfile.o > obj/dumpfile.o > > obj/edcolor.o obj/edconst.o obj/edfonts.o obj/editdiag.o > > obj/editmain.o obj/editmenu.o obj/editorfo.o obj/editpale.o > > obj/editwind.o obj/edkeys.o obj/edmsg.o obj/edprefs.o obj/edprint= .o > > obj/edprj.o obj/edspecs.o obj/djmdr.o obj/dyncat.o obj/memmove.o > > obj/mixer.o obj/mixersb.o obj/mixoss.o obj/stackdbg.o obj/strncpy= z.o > > obj/strndup.o obj/fstrcmp.o obj/getctxhl.o obj/gzfiles.o > > obj/holidays.o obj/inf.o obj/infbase.o obj/manview.o obj/nhiscoll= .o > > obj/ninfview.o obj/ninfwind.o obj/nmanwind.o obj/sinf.o obj/sman.= o > > obj/intgrep.o obj/keytrans.o obj/linelen.o obj/loadcle.o > > obj/loaddefl.o obj/loadfunc.o obj/loadnobkp.o obj/loadshl.o > > obj/loadusew.o obj/macrocom.o obj/menuload.o obj/mli.o > obj/mliasimp.o > > obj/mlicsdg.o obj/mliediti.o obj/mliedito.o obj/mlisdg.o > obj/msignal.o > > obj/nceditor.o obj/ndskwasc.o obj/ndskwcal.o obj/ndskwcli.o > > obj/ndskwclo.o obj/ndskwedi.o obj/ndskwhel.o obj/ndskwman.o > > obj/ndskwmes.o obj/ndskwmp3.o obj/ndskwprj.o obj/neditwin.o > > obj/nfileedi.o obj/nsindica.o obj/ntedcol.o obj/parser.o > > obj/pathlist.o obj/pathtool.o obj/pclipper.o obj/pmacros.o > obj/pperl.o > > obj/pphp.o obj/pvarious.o obj/runprog.o obj/sceditor.o > obj/scresave.o > > obj/sdginter.o obj/sdskasci.o obj/sdskcale.o obj/sdskclip.o > > obj/sdskclos.o obj/sdskedit.o obj/sdskhelp.o obj/sdskman.o > > obj/sdskmess.o obj/sdskmp3.o obj/sdskprj.o obj/search.o > obj/sedcolle.o > > obj/slpinter.o obj/splinman.o obj/ssindica.o obj/ssyntax.o > obj/tags.o > > obj/tedcolle.o obj/tips.o obj/tpaltext.o obj/tsindica.o obj/txhge= n.o > > obj/winlistd.o libeasyd.a librhuti.a libsettv.a -lrhtv -ldl > -lbz2 > > -lz -lpcre > > Undefined first referenced > > symbol in file > > acs32map > > > /export/home/ymercier/setedit/setedit/contrib/tvision/makes/librhtv= .so > > newterm32 > > > /export/home/ymercier/setedit/setedit/contrib/tvision/makes/librhtv= .so > > > ld: fatal: Symbol referencing errors. No output written to > editor.exe > > collect2: ld returned 1 exit status > > make[2]: *** [editor.exe] Error 1 > > make[2]: Leaving directory > > `/export/home/ymercier/setedit/setedit/contrib/setedit/makes' > > make[1]: *** [editor] Error 2 > > make[1]: Leaving directory > > `/export/home/ymercier/setedit/setedit/contrib/setedit/makes' > > make: *** [editor] Error 2 > > root > > > > I looked for the acs32map symbol on my /usr/include,=20 /lib/libncurses.so.5.5 and both Turbo Vision and SETEdit sources and it=20 isn't defined anywhere, so I guess is something from your system, I=20 don't know from where it came from and don't know how to avoid it :-(. Can you start all over again just in case? Leave the ncurses compatibility library installed since we need it=20 but remove everything from SETEdit and Turbo Vision from your system,=20 then download the latest CVS versions of both using the CVS program and=20 compile from there. If you are intending to use the editor under X11 then you may=20 uninstall the ncurses library and install the X11 development libraries,=20 maybe we are more lucky with the X11 build and is better than the=20 ncurses driver, if you are using X11 and intend to use the editor under=20 it then you should try this instead of the ncurses driver. Please, tell us if you succeed or not, and as always, give as much=20 detail as you can. Hope this helps, goodbye! --=20 Ivan Baldo - ib...@ad... - http://ibaldo.codigolibre.net/ ICQ 10215364 - Phone/FAX (598) (2) 613 3223. Caldas 1781, Malvin, Montevideo, Uruguay, South America. We believe that we are free, but in reality we are not! Are we? Alternatives: ib...@co... - http://go.to/ibaldo |