LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-25-2007, 01:20 PM   #1
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Rep: Reputation: 86
Compiling error /usr/bin/ld: cannot find -ltclstub84


I'm trying to install tclx-8.4 but after typing make I get the following error.

Quote:
# make
rm -f libtclx84.so.1.0
gcc -pipe -shared -o libtclx84.so.1.0 tclXbsearch.o tclXchmod.o tclXcmdloop.o tclXdebug.o tclXdup.o tclXfcntl.o tclXfilecmds.o tclXfilescan.o tclXflock.o tclXfstat.o tclXgeneral.o tclXhandles.o tclXinit.o tclXkeylist.o tclXlib.o tclXlist.o tclXmath.o tclXmsgcat.o tclXprocess.o tclXprofile.o tclXselect.o tclXsignal.o tclXstring.o tclXsocket.o tclXutil.o tclXoscmds.o tclXlgets.o tclXunixCmds.o tclXunixDup.o tclXunixId.o tclXunixOS.o tclXunixSock.o -lm -L/usr/local/src/tcl8.4.14/unix -ltclstub84
/usr/bin/ld: cannot find -ltclstub84
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/local/src/tclx8.4 (line 261 of Makefile).
Does anyone know how I can fix this?
 
Old 01-25-2007, 03:42 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Are you installing this from ports or by hand?
 
Old 01-25-2007, 08:34 PM   #3
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Original Poster
Rep: Reputation: 86
By hand... I'm using OBSD 4.0 and unfortunately there isn't a port for it.
 
Old 01-25-2007, 09:23 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
And you've already installed tcl 8.4?
 
Old 01-25-2007, 09:55 PM   #5
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Original Poster
Rep: Reputation: 86
Yeah that's already installed...
 
Old 01-25-2007, 10:04 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
When you ran configure, did it find your TCL libraries? Usually configure catches this error pretty well.
 
Old 01-26-2007, 08:55 AM   #7
OlRoy
Member
 
Registered: Dec 2002
Posts: 306

Original Poster
Rep: Reputation: 86
Quote:
Originally Posted by frob23
When you ran configure, did it find your TCL libraries? Usually configure catches this error pretty well.
Awsome, I think it works now. I took your advice and tried it with ./configure --with-tcl=/usr/local/stow/tcl-8.4.14 and it seems to of worked. Do you know of a way I can verify that it installed correctly?
 
Old 01-26-2007, 04:24 PM   #8
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
You should be able to find the files in lib/tclx84/ they will end with .tcl and they should be there. tclx.tcl should be one of them.

I am not sure exactly what or where it installed... but once you locate the libraries you'll know the prefix it used and everything should be fine. The best way to know if it worked would be to use it and see if things compile/run correctly against the libraries.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/bin/ld: cannot find -lusb error?? Hyperion007 Linux - Newbie 5 07-25-2016 07:28 PM
make error: /usr/bin/ld: cannot find -lXext ryedunn Linux - Software 20 11-16-2011 03:28 AM
Compiling Evas (E17) - /usr/bin/ld: cannot find -lvga victorhooi Linux - Software 1 10-20-2005 04:33 PM
error compiling cdrtools on kernel 2.6.0: /usr/bin/ld: cannot find -lscg qanopus Linux - Software 1 12-21-2003 08:15 AM
linux command error message bash: /usr/bin/find: No such file or directory sundaram123 Linux - General 8 04-02-2002 07:18 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration