FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
And at this stage in the game I'd like to move your post
to the Fedora forum because I have no explanation for this
behaviour ... would you mind? Sorry that I can't be of
further assistance.
Its ok thanks for your help anyways also i would like to point out that
while using [root@localhost libpgtcl]# ./configure --with-tcl --prefix=/usr/local/pgsql --exec-prefix=/usr/local/pgsql --with-postgres-lib=/usr/local/pgsql/lib --with-tcl=/usr/local/lib/tclConfig.sh
I'am still getting this error. configure: error: Cannot locate program pg_config to determine PostgreSQL paths. Make sure pg_config is in PATH or set PG_CONFIG env var to path to pg_config.
I'am still getting this error. configure: error: Cannot locate program pg_config to determine PostgreSQL paths. Make sure pg_config is in PATH or set PG_CONFIG env var to path to pg_config.
Did you try adding /usr/local/pgsql/bin to the PATH, or
setting PG_CONFIG?
I had tried using --with-postgres-bin=/usr/local/pgsql/bin/pg_config
that didnt work prolly do that wrong,and as setting PG_CONFIG i dont know how i went into the directory executed ./pg_config but it just give me stats.
I just came across this thread while trying to figure out how to get the native library part of JOGL (Java OpenGL) recognized by ldconfig. Using Fedora 7 here as well. The problem is with SELinux blocking ldconfig from accessing your .so files because they don't have the proper SELinux context type. Simply run the following command in the directory containing your .so files:
chcon -t lib_t *.so
Don't do this in a directory such as /usr/lib because some of the libraries in there have special context types, this could probably break those. Specify the full filename(s) of the libraries you need to change in that case.
Last edited by LinuxManMikeC; 11-21-2007 at 03:18 PM.
There may be further SELinux contexts to set on the files and directories you are using. You should be getting a little star notification icon for the SELinux Troubleshooter. You can click on it to get a listing of what SELinux has blocked and why. Thats how I discovered what was wrong in my situation. You can also start the SELinux Troubleshooter from the menu at System->Administration->SELinux Troubleshooter. Look through there for any security alerts relating to /sbin/ldconfig and/or the files and directories you are working with.
Also this command will show you the SELinux context info for a directory listing:
ls -Z
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.