google-code-export / qdevelop

Automatically exported from code.google.com/p/qdevelop
GNU General Public License v2.0
2 stars 1 forks source link

error while loading shared libraries #322

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Installed xerces on fedora core 6
2. add the libxerces-c-3.0.so library into the LIBS of qdevelop project   
   properties.
3. compile of coding works with the xerces features, but error 
   occured when I tried to start the program.

The error is as follow:

/root/Desktop/PolicyGen: error while loading shared libraries : libxerces-
c-3.0.so: cannot open shared object file: No such file or directory

Its rather strange since it is able to access the library while compiling 
but not when I try to run the program ?

*root/xerces-c-3.0.0-x86-linux-gcc-3.4/lib/libxerces-c-3.0 is the library 
I am linking to*

I am currently using QT Open Source Edition Version 4.3.2

Any advice will be a great help! Thanks! 

Regards, 
Lionel

Original issue reported on code.google.com by odin...@hotmail.com on 3 Nov 2008 at 2:46

GoogleCodeExporter commented 9 years ago
Is root/xerces-c-3.0.0-x86-linux-gcc-3.4/lib/ in /etc/ld.so.conf? Did you 
install
xerces library to standard path (e.g. /usr/lib)?
Will `LD_LIBRARY_PATH="/root/xerces-c-3.0.0-x86-linux-gcc-3.4/lib/"
/root/Desktop/PolicyGen` work?
Anyway it doesn't seem to be a problem with QDevelop.

Original comment by Lord.Div...@gmail.com on 29 Jan 2009 at 9:06

GoogleCodeExporter commented 9 years ago
Sorry... but what does it have to do with qdevelop...?

"invalid"?

Original comment by diegoi...@gmail.com on 29 Jan 2009 at 9:59

GoogleCodeExporter commented 9 years ago
Yes, invalid!

Original comment by jlbi...@gmail.com on 30 Jan 2009 at 9:30