[lug] GNU Linker question

Ken Kinder ken at kenkinder.com
Wed Nov 1 16:14:54 MST 2000


Hey, I'm trying to get the GNU Linker to link some files I've got. In
/usr/contrib/lib/python1.5/config, I've got libpython1.5.a (funny
place, I know). When I run:

	kkinder at tridog1:~/MySQLdb-0.2.2$ ld -L/usr/contrib/lib/python1.5/config -llibpython1.5  _mysqlmodule.o  -L/usr/local/lib/mysql -lmysqlclient -lz -o _mysqlmodule.so

I get:

	ld: cannot open -llibpython1.5: No such file or directory

What's going on? It's right there:

	kkinder at tridog1:~/MySQLdb-0.2.2$ ls /usr/contrib/lib/python1.5/config/libpython1.5.a 
	/usr/contrib/lib/python1.5/config/libpython1.5.a

Any thoughts?

-- 
Ken Kinder
www.kenkinder.com




More information about the LUG mailing list