List:General Discussion« Previous MessageNext Message »
From:jan nusteling Date:November 1 2003 4:08pm
Subject:mysql library problem
View as plain text  
I'm using SuSE linux 8.2 and making a database application with Qt.
I have installed all the packages needed.
Making the application is OK.

 jannus@flores:~/Remind_db> make
  g++  -o remind .obj/remind.o .obj/main.o .obj/createCon.o .obj/moc_remind.o
  -L/usr/lib/  -L/usr/lib/qt3/lib/ -L/usr/X11R6/lib/
  -L/usr/lib/qt3/plugins/sqldrivers/ -lq sqlmysql -lqt -lXext -lX11 -lm

When running the program there is an error message like follows.

jannus@flores:~/Remind_db> ./remind
./remind: error while loading shared libraries: cannot open
shared object file: No such file or directory

The contents of directory /usr/lib/qt3/plugins/sqldrivers is:

drwxr-xr-x    2 root     root     4096 Nov  1 15:54 ./
drwxr-xr-x    5 root     root     4096 Oct 25 11:53 ../
-rwxr-xr-x    1 root     root    35680 Mar 17  2003*
-rwxr-xr-x    1 root     root    35720 Mar 17  2003*

derived from package  qt3-mysql-3.1.1-68.i586.rpm

Can you tell me what's wrong?

Thanks in advance!

>Submitter-Id:	<submitter ID>
>Originator:	jan nusteling
>MySQL support: [none | licence | email support | extended email support ]
>Category:	mysql
>Release:	mysql-3.23.55 (Source distribution)
>Server: /usr/bin/mysqladmin  Ver 8.23 Distrib 3.23.55, for suse-linux on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version		3.23.55-log
Protocol version	10
Connection		Localhost via UNIX socket
UNIX socket		/var/lib/mysql/mysql.sock
Uptime:			2 hours 6 min 51 sec

Threads: 1  Questions: 2  Slow queries: 0  Opens: 6  Flush tables: 1  Open 
tables: 0 Queries per second avg: 0.000
System: Linux flores 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown 
unknown GNU/Linux
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc 
GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib 
--enable-languages=c,c++,f77,objc,java,ada --disable-checking --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
Compilation info: CC='gcc'  CFLAGS='-O2 -march=i586 -mcpu=i686 
-fmessage-length=0 -DPIC -fPIC'  CXX='g++'  CXXFLAGS='-O2 -march=i586 
-mcpu=i686 -fmessage-length=0 				-felide-constructors 				-fno-exceptions 				
-fno-rtti 				-fPIC -DPIC'  LDFLAGS=''
-rwxr-xr-x    1 root     root      1491599 2003-03-14 00:33 /lib/
-rw-r--r--    1 root     root     43012516 2003-03-14 00:13 /usr/lib/libc.a
-rw-r--r--    1 root     root          204 2003-03-14 00:13 /usr/lib/
Configure command: ./configure '--disable-shared' 
'--with-mysqld-ldflags=-static' '--with-client-ldflags=-static' 
'--without-berkeley-db' '--without-innodb' '--enable-assembler' 
'--enable-large-files' '--infodir=/usr/share/info' '--libdir=/usr/lib' 
'--libexecdir=/usr/sbin' '--localstatedir=/var/lib/mysql' 
'--mandir=/usr/share/man' '--prefix=/usr' '--sysconfdir=/etc' 
'--with-mysqld-user=mysql' '--without-debug' '--datadir=/usr/share' 
'--includedir=/usr/include' '--with-extra-charsets=complex' 
'--with-unix-socket-path=/var/lib/mysql/mysql.sock' '--with-libwrap' 
'CFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -DPIC -fPIC' 
'CXXFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 				
-felide-constructors 				-fno-exceptions 				-fno-rtti 				-fPIC -DPIC'

mysql library problemjan nusteling1 Nov
  • Problem with query comparing to a DATE on Linux OpenOfficeMarc11 Nov