- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- glib is installed in different location than packa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2003 11:54 PM
03-13-2003 11:54 PM
glib is installed in different location than package assimes
checking for glib-config... /opt/glib/bin/glib-config
checking for GLIB - version >= 1.2.0... ./configure[3591]: /opt/glib/bin/glib-config: not found.
/usr/lib/dld.sl: Can't open shared library: /opt/glib/lib/libglib.sl
/usr/lib/dld.sl: No such file or directory
What's wrong? What can I do?
PS: /usr/local/bin exists in my PATH and glib-config can be run without path.
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 12:00 AM
03-14-2003 12:00 AM
Re: glib is installed in different location than package assimes
#ln -s /usr/local/glib /opt/glib
which should make things fine
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 12:15 AM
03-14-2003 12:15 AM
Re: glib is installed in different location than package assimes
glib is installed into /usr/local. That means that glib-config is in /usr/local/bin. glib libraries are in /usr/local/lib. Well, I think it's possible to create link /opt/glib -> /usr/local, but maybe there's more correct decision?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2003 01:06 AM
03-14-2003 01:06 AM
Re: glib is installed in different location than package assimes
Like
#mkdir -p /opt/glib/bin
#ln -s /usr/local/bin/glib-config /opt/glib/bin/
Similarly
#mkdir -p /opt/glib/lib
#ln -s /usr/local/lib/libglib.sl /opt/glib/lib/
Either you can link the entire bin and lib dir to /opt/glib
or just link the library and binary files of glib there.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2003 10:38 AM
03-17-2003 10:38 AM
Re: glib is installed in different location than package assimes
Another possibility (not quite as elegant) would be to use LD_PRELOAD to preload glib from the install location. That should/might satisfy the applications glib requirements and workaround the library being in /usr/local/lib instead of /opt/glib...
There is also the LD_LIBRARY_PATH (sp?) option, but I _think_ that the application has to be compiled to allow that. More data may be in the manpage for the "ld" command.
Or, you could always download the sources and compile them to whatever prefix you desire :)