LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-22-2002, 07:50 AM   #1
johnlee
Member
 
Registered: Oct 2001
Location: China
Distribution: RedHat 7.0
Posts: 43

Rep: Reputation: 15
jdbc mysql Redhat 7.2 problem


Dear All,

We are trying to connect to mysql with our java application problem throgh odbc bridge when we run our program its give us this error

Starting PortNumber: 9609 DbForName:sun.jdbc.odbc.JdbcOdbcDriver DbUrl:jdbcdbc:testdb DbUid:sheraz DbPwd:123
Starting connection listener
Starting Server on port # 9600
Starting database handler
/usr/java/jdk1.3.1_03/bin/i386/native_threads/java: error while loading shared libraries: /usr/lib/libmyodbc.so: undefined symbol: init_dynamic_array


what does it mean please help me although i have installed unixODBC and MyODBC drivers

Regards,

John Lee
 
Old 04-23-2002, 06:34 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Shared libraries, eh?

Assuming the JDBC ODBC drivers are installed properly, it has to be the installation of java itself.

% java --version

What does that give you?

If it gives you what you expect, just recheck environment variables in $HOME.bash_profile and whether the DB connectivity drivers need any additional lines added.

If you've tried that, then I'm outa suggestions.

Bert
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
JDBC and MySQL Driver White R4bbit Debian 2 08-13-2004 04:55 PM
JDBC mysql url parameter for tomcat's server.xml gschrade Linux - Software 1 03-01-2004 05:07 PM
JDBC mysql url parameter for tomcat's server.xml gschrade Linux - Software 4 02-29-2004 12:23 PM
mysql and jdbc gballsch Programming 7 05-14-2003 04:04 PM
MySQL and JDBC oulevon Programming 1 07-16-2001 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:10 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