LinuxQuestions.org
Visit Jeremy's Blog.
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 03-20-2005, 07:20 PM   #1
daprezjer
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
Show Library Path for PHP on Linux?


Quick version: Is there a way to "print" the LD_LIBRARY_PATH so I can see how the other paths look, and to make sure the new path is there?

I'm not sure if this is better for PHP or Linux but here goes.

I'm trying to install a library from a third party vendor. They tell me to use the following code, where /default/ is where the PHP folder is and simapi/lib is the library that contains the functions I need.

export LD_LIBRARY_PATH=/default/simapi/lib:$LD_LIBRARY_PATH

I get the gist of this; adding the location of the new library, then a colon and repeating the other paths.

Unfortunately, this doesn't seem to work, and any functions that I try (that should be in this library) don't work, nor do they seem to show up in phpinfo. Is there a way to "print" the LD_LIBRARY_PATH so I can see how the other paths look, and to make sure the new path is there?
 
Old 03-20-2005, 08:35 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
echo $LD_LIBRARY_PATH
 
  


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
library path Scott7 Debian 1 10-19-2005 07:25 AM
library path variable vrdhananjay Linux - Software 2 09-03-2005 06:31 PM
How to show your location / path? Echo Kilo Linux - General 2 12-19-2004 01:40 PM
GD Library path? kinkybullet Linux - Newbie 1 02-11-2004 09:15 PM
Cannot find path for library Baran Linux - Newbie 5 09-03-2003 04:46 AM

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

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