LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MyODBC GLIBC Error :unixODBC (https://www.linuxquestions.org/questions/linux-software-2/myodbc-glibc-error-unixodbc-127069/)

nbjayme 12-18-2003 06:11 PM

MyODBC GLIBC Error :unixODBC
 
hello all,

I have myodbc3.51.06 and tried to connect using isql

#isql myDSN myUser myPassword -v

[01000][unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libmyodbc3-3.51.06.so' : /usr/local/lib/libmyodbc3-3.51.06.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

Please help!

NBJayme

"Take control. . . get Linux"

jharris 12-18-2003 06:46 PM

Looks to me like your libmyodbc has been linked against a different version of glibC. Is that the latest version you are using? Why are you using ODBC instead of a native MySQL connection?

cheers

Jamie...

nbjayme 12-24-2003 10:44 PM

Hello Jamie,

My PHP Scripts were in MS Win98 using ODBC. I'm porting it to Linux RedHat 9.

Unfortunately, RH9 is using MySQL3.x so I upgraded it to MySQL4.x and to minimize changes I've also upgraded MyODBC 2.x to MyODBC 3.5x.x.

I believe it's much flexible if I'll use ODBC. As MyODBC evolves I can immediately have the new features rather than tied up with PHP native mysql support.

Anybody have an idea to solve the wrong link?

NBJayme

marmarchi 02-24-2004 07:14 AM

Hi
I had the same problem till a few minutes ago , I found my answer in the <<www.oooforurm .org>>
Try this:
export LD_ASSUME_KERNEL=2.4.1

also this is for testing the connection:
dltest /usr/local/lib/libmyodbc3.so SQLConnect 1

Good luck


All times are GMT -5. The time now is 10:56 PM.