LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2005, 08:11 AM   #1
Aju
LQ Newbie
 
Registered: Aug 2005
Location: ~
Distribution: Red Hat 9
Posts: 14

Rep: Reputation: 0
Angry Sqlite3-3.2.1 execution error


Hello,

I tried compiling the source sqlite3-3.2.1 with the following commands on a i686 machine distro rehat linux 9 with the following commands,

./configure
make
make install

And the above process returns successful message

and all the lib* libraries are present in /usr/local/lib, i can also invoke sqlite3 by typing in the same at the prompt

I have created an application which uses GTK+-1.2 and sqlite3 , the application compiles fine without any error but while trying to execute the binary the following error surface,,

./main(This is the binary)

error while loading shared libraries: libsqlite3.so.0: cannot open shared object file: No such file or directory

as mentioned above, i have cross-checked and these libraries are present in /usr/local/lib and all have executable permissions,
The above library, libsqlite3.so.0 is linked with another library libsqlite3.so.0.8.6

But the above process works fine if i replicate them on a i386 machine with the same distro installed..
 
Old 10-19-2005, 09:14 PM   #2
LOLobo
Member
 
Registered: Dec 2004
Location: Los Angeles
Distribution: Slackware 10.0 & 11.0
Posts: 31

Rep: Reputation: 16
Bump

I'm having the same issue.

Need this to install and am scratching my head...

::edit:: Figured out a solutin to my problem

I simply copied the libsqlite* files from /usr/local/lib to /usr/lib & to /lib

Last edited by LOLobo; 10-19-2005 at 10:02 PM.
 
Old 10-20-2005, 09:17 AM   #3
Aju
LQ Newbie
 
Registered: Aug 2005
Location: ~
Distribution: Red Hat 9
Posts: 14

Original Poster
Rep: Reputation: 0
Thank u LOLobo for the reply,,,been pondering the problem for quite some time,,,
Setting LD_LIBRARY_PATH explicitly to the path of libsqlite* also solves the problem...

But thanks to u for the alternate solution....
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to tell where the execution is going on right now? bahadur Programming 7 04-03-2005 03:42 AM
script execution error linux_lover2005 Programming 3 12-22-2004 06:46 AM
command execution leonidas Linux - General 1 09-22-2004 12:29 AM
Americas Army Execution Error PhuckFonix Linux - Games 2 07-31-2004 08:17 PM
Acrobat execution error on RH8.0 SML Linux - Newbie 2 12-27-2002 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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