[lug] GNU Linker question

Michael Wegener wegener at zulaware.com
Wed Nov 1 17:06:56 MST 2000


What helped me with a similar problem (after much help from this list) is making sure the directory your files are in is listed in /etc/ld.so.conf

--M

Ken Kinder wrote:

> 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
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

--
Michael Wegener
--------------------- wegener at zulaware.com
President
--------------------- (voice) 303-402-0364
Zulaware, Inc.
--------------------- (fax) 1-877-540-6114
5589 Arapahoe Ave
Suite 206A
Boulder, CO 80303






More information about the LUG mailing list