LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-06-2010, 12:51 PM   #16
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615

PAE implies 32-bit, but the rest of the results say "i386" "i586" or "i686," correct?

If so, there goes that idea.

Maybe PHP's ./configure needs you to tell it where the sqlite libraries are located. The exact, verbose, error messages would help.
 
Old 05-06-2010, 12:52 PM   #17
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Yeah it's 32 bit. Which error messages. The ones after rpm -iv php-pdo?
 
Old 05-06-2010, 01:01 PM   #18
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
No, the ones when you go to compile php-common and are asked for libsqlite.so.0
 
Old 05-06-2010, 01:09 PM   #19
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Odd, php-common installed for me already.
 
Old 05-10-2010, 06:45 AM   #20
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
I'm still having this issue. Can someone help me out?
 
Old 05-10-2010, 07:00 AM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be try with some more information ..

Which version of php are you trying to install ?
Full package name(s), please.

And which command(s) are you using ? ?

(I don't think, you are compiling, never seen the
requirement for libsqlite.so.0 before. At compile
time libsqlite.so will be used only.)

Compiling would be like : cd php-5.2.11/ &&
./configure --<all-seventy-options> && make
( No php-common should appear ? ).
..
 
Old 05-10-2010, 07:06 AM   #22
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
All of the versions are current, 5.3.2, and php-pdo 5.3.2-2. I'm just running rpm -iv <package>.rpm. After that is when it complains about missing that file, which is actually in the system lib folder, I have sqlite3 installed. I needed the other packages (aside from plain ol' PHP) because PHP complained about not having them when I was installing the rpm.
 
Old 05-10-2010, 07:23 AM   #23
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
""..... 5.3.2, and php-pdo 5.3.2-2 ....""
Where did you get those ? Links please ?

And still, the full package names, please, like
php-5.3.2-1.el5.remi.i386 , php-common-5.3.2-1.el5.remi.i386

http://rpms.famillecollet.com/enterp....remi.i386.rpm

http://rpms.famillecollet.com/enterp....remi.i386.rpm

php-pdo-5.3.2-1.el5.remi.i386 , etc. Are these the packages ? ?
....
....
And by the way, # 'rpm -iv' is a wrong command, will leave
other php stuff installed.
-iv : When more than one version is to be installed.
# rpm -Uvh : Is the universal command, also used by all
package managers.
..

Also required : The package name(s) for sqlite :
Show the reply from : rpm -qa | grep sqlite
..
And please read the links : ""How to Ask Smart Questions..""
in the AlucardZero posts.
..

Last edited by knudfl; 05-10-2010 at 08:03 AM.
 
Old 05-10-2010, 07:31 AM   #24
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Sorry, here goes:

php-mysql-5.2.2-3.i386.rpm
php-pdo-5.3.2-2.el5.remi.i386.rpm
php-common-5.3.2-2.el5.remi.rpm

php-mysql needs pdo and common, common needs pdo, and pdo needs that libsql.so.0 file I'm talking about.
 
Old 05-10-2010, 07:38 AM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
rpm -qa | grep sqlite

???????

And is it 'libsql.so.0' or 'libsqlite.so.0'
that seems missing ?

Links for the php packages : still missing !
Is it http://rpm.pbone.net/ ? ?
..

Last edited by knudfl; 05-10-2010 at 07:50 AM.
 
Old 05-10-2010, 07:42 AM   #26
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Results:

python-sqlite-1.1.7-1.2.1
sqlite-devel-3.3.6-2
sqlite-3.3.6-2

The file in question is not a package. It's some file with sqlite, and it does exist on this system.

Last edited by athomas; 05-10-2010 at 07:53 AM.
 
Old 05-10-2010, 08:00 AM   #27
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
And what is the output of

rpm -ql sqlite | grep libsqlite

?
.
 
Old 05-10-2010, 08:04 AM   #28
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
/usr/lib/libsqlite3.so.0
/usr/lib/libsqlite3.so.0.8.6

Also listed *should* be libsqlite.so.0 because it IS in /usr/lib.
 
Old 05-10-2010, 08:27 AM   #29
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
libsqlite.so.0 is supposed to be a symlink to libsqlite3.so.0.8.6

Can be checked with : ls -l /usr/lib/libsqlite*


libsqlite.so.0 is not part of any sqlite package for CentOS5,
(AFAIK) and may have been created manually.
( Or is a leftover from an earlier version.)
That is why it's not shown with 'rpm -ql sqlite | grep libsqlite'.

php-pdo can be installed with :
# rpm -Uvh --nodeps php-pdo-5.3.2-2.el5.remi.i386.rpm
.. when you have checked the correct linking with 'ls -l'
..
 
Old 05-10-2010, 09:02 AM   #30
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Alright well I installed everything. Now, when I type 'whereis php-mysql' it finds nothing, but 'rpm -qa | grep php' shows it as installed.
 
  


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
weird PHP compile issue- module shows in "php -m" but not in phpinfo call hbbtstar Linux - Software 1 08-28-2009 03:14 PM
PHP 5.2.0 compile konfigure Slackware 1 11-11-2006 08:12 PM
compile php with gd ? sonaatti Slackware 3 11-29-2004 10:46 AM
can't compile php 4.3.3 adrianmak Linux - Software 3 11-20-2003 08:06 PM
Compile php grubjo Linux - Software 7 09-09-2002 03:19 PM

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

All times are GMT -5. The time now is 12:37 AM.

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