• About

ld cannot find lgcc s

July 12th, 2008

Finally figured this one out, I think. I was trying to compile aolserver4-nsmysql on debian, using the package source, but I kept hitting that error. then I found some bug about openSUSE related to this, and the workaround for x86 was to do this:

ln -s /lib/ /usr/lib/

DOH! Unfortunately, I'm back to square one. I'm now able to compile aolserver4-nsmysql, but I still get this error when trying to load the driver:

Warning: modload: could not load /usr/lib/aolserver4/bin/ /usr/lib/aolserver4/lib/ undefined symbol: mysql_select_db

Maybe I'll stick with Postgres?

Dossy seems to be around still, so I've just sent an email:

Hi Dossy,

How are you? I'm trying to get your AOL Server mysql driver up and running but keep running into the same problem:

Warning: modload: could not load /usr/lib/aolserver4/bin/ /usr/lib/aolserver4/lib/ undefined symbol: mysqlselectdb

I've been on this for a few days, I'm using debian lenny, and have /usr/lib/aolserver4/lib in /etc/ I'm using the debian packages for aolserver4 and aolserver4-nsmysql, but since it didn't work like that, I've been trying to compile it myself.

First I ran into an issue where it couldn't find gcc_s, so I did this:

ln -s /usr/lib/ /lib/

That helped the compile finish, but I still get the same error when starting AOL Server.

What do you think? Any ideas? Thanks!


More info:

ldd /usr/lib/aolserver4/bin/ =>  (0xffffe000) => /usr/lib/aolserver4/lib/ (0xb7fc7000) => /usr/lib/aolserver4/lib/ (0xb7f69000) => /usr/lib/aolserver4/lib/ (0xb7f60000) => /lib/ (0xb7f53000) => /usr/lib/ (0xb7e9e000) => /lib/i686/cmov/ (0xb7e9a000) => /lib/i686/cmov/ (0xb7e82000) => /lib/i686/cmov/ (0xb7e5d000) => /lib/i686/cmov/ (0xb7d0e000)	/lib/ (0x80000000)


Yearly Indexes: 2010 2003 2005 2006 2007 2008 2009 2004 2011 2012 2013 2015 2019 2020