LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2003, 07:39 AM   #1
tuka
Member
 
Registered: Jul 2003
Location: Lisbon, Portugal
Distribution: Red Hat 9.0
Posts: 30

Rep: Reputation: 15
meaning of "shared" in ./configure...


Hi all,

I am studying out the comand for PHP module compilation but due to a lack of man pages in my PC for this comand I canīt sort it out...

What does "shared" in:

./configure '--with-mysql=shared,/usr'

mean ? Could you explain the command parametyer as a whole ?Is this something specific to this command or is it something generic to Linux I should know ?

Thank for your help...
Tuka
 
Old 08-24-2003, 08:11 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
it means shared as opposed to static... so rather than taking the code in the libraries and including it in the binaries you're about to compile, it will leave it in the original library, preusmably in /usr/lib or such like, meaning that it will depend on those external files each time it runs, and thus is sharing the code with other applciations which also use that library, this is more normal, and i would have thought shared would be the default anyway, static compiles will produce larger files (and replicate code on your system) but does have it's benefits, like being more portable when using unusal libraries....
 
Old 08-24-2003, 09:51 PM   #3
tuka
Member
 
Registered: Jul 2003
Location: Lisbon, Portugal
Distribution: Red Hat 9.0
Posts: 30

Original Poster
Rep: Reputation: 15
hmmm... I see

that would mean that the PHP is trying to use a shared library in the /usr directory...

I have another question: My problem is that PHP is not accessing the mysql libraries. Do you know how I may figure out where the mysql libraries (ie. the expected filename(s)) are and how I may link the library from wherever it is installed on my system ? that way I may use my PHP instalation (default for RH9) without having to recompile.....

Thanks again...

Tuka
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
"bad interpreter : no such file or directory" when configure "flex" acer_peri Linux - Software 10 11-10-2010 02:19 AM
wifi frame "Supported rates" meaning powah Linux - Wireless Networking 0 11-09-2005 05:10 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 03:32 PM
Meaning of "shared" in config command tuka Linux - Newbie 0 08-22-2003 11:07 AM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 04:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration