vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| While attempting to compile the modules-package (http://modules.sourceforge.net), I get the error message that make can't find the file libtcl. I have checked that, the file libtcl exists in /usr/lib. I am using gnu make and the IBM ld. Any solutions? |
| |||
| "Rob Dijkshoorn" <rob@robdijkshoorn.com> writes: > Any solutions? You have not stated your problem yet. Which command line failed, ans what was the *exact* error message? Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. |
| |||
| "Paul Pluzhnikov" <ppluzhnikov-nsp@charter.net> wrote in message news:m3wu3ofhx6.fsf@salmon.parasoft.com... > "Rob Dijkshoorn" <rob@robdijkshoorn.com> writes: > > > Any solutions? > > You have not stated your problem yet. > > Which command line failed, ans what was the *exact* error message? > > Cheers, > -- > In order to understand recursion you must first understand recursion. > Remove /-nsp/ for email. I'll paste the relevant portion of the compile (actually the linking part) that goes haywire... gcc -o modulecmd -L/opt/freeware/lib -L/usr/X11R6/lib -g ModuleCmd_Avail.o ModuleCmd_Clear.o ModuleCmd_Display.o ModuleCmd_Help.o ModuleCmd_Init.o ModuleCmd_List.o ModuleCmd_Load.o ModuleCmd_Purge.o ModuleCmd_Switch.o ModuleCmd_Update.o ModuleCmd_Use.o ModuleCmd_Whatis.o cmdAlias.o cmdConflict.o cmdIsLoaded.o cmdInfo.o cmdMisc.o cmdModule.o cmdPath.o cmdSetenv.o cmdUname.o cmdXResource.o cmdUlvl.o cmdLog.o cmdTrace.o cmdVersion.o cmdVerbose.o cmdWhatis.o init.o locate_module.o utility.o main.o error.o getopt.o ersion.o -ltcl8.3 -lXmu -lXt -lX11 -lXext -ldl -lm ld: 0706-006 Cannot find or open library file: -l tcl8.3 ld collect2: ld returned 255 exit status make: 1254-004 The error code from the last command is 1. Please note: tcl8.3 does exist in /opt/freeware/lib |
| |||
| Rob Dijkshoorn wrote: > ersion.o -ltcl8.3 -lXmu -lXt -lX11 -lXext -ldl -lm > ld: 0706-006 Cannot find or open library file: -l tcl8.3 > ld > collect2: ld returned 255 exit status > make: 1254-004 The error code from the last command is 1. > > Please note: tcl8.3 does exist in /opt/freeware/lib Does _libtcl8.3.a_ exist in /opt/freeware/lib? It must be that exact name, or the linker won't find it. -- Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE __________________________________________________ ______________________ |
| ||||
| "Gary R. Hook" <nospam@nospammers.net> wrote in message news:23Omc.24938$B32.23193@newssvr22.news.prodigy. com... > Rob Dijkshoorn wrote: > > ersion.o -ltcl8.3 -lXmu -lXt -lX11 -lXext -ldl -lm > > ld: 0706-006 Cannot find or open library file: -l tcl8.3 > > ld > > collect2: ld returned 255 exit status > > make: 1254-004 The error code from the last command is 1. > > > > Please note: tcl8.3 does exist in /opt/freeware/lib > > Does _libtcl8.3.a_ exist in /opt/freeware/lib? It must be > that exact name, or the linker won't find it. > I found the problem... gcc compiles a *.so library, and I need a *.a library. Fixing this solved my problems. Rob |