Please help a rookie on shared lib problems
From: Sean (aether8203_at_yahoo.com)
Date: 06/30/04
- Next message: Thomas Kratz: "Re: Please help a rookie on shared lib problems"
- Previous message: Terry: "Issues with Win32 Perl Modules?"
- Next in thread: Thomas Kratz: "Re: Please help a rookie on shared lib problems"
- Reply: Thomas Kratz: "Re: Please help a rookie on shared lib problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 30 Jun 2004 08:20:36 -0700
Some time ago a developer installed the perl XML package onto our Unix
system. When it was installed, it created the normal XML directory
(with modules) in the /usr/share/lib/perl5/XML
I have learned that I can take these *.pm files, move them into a
"modules" directory under the path of my application and then use a
"use lib('')" command in my .pTk file to reference that module. No
problems. For example, the app could live in ~me/coolApp and the
modules would be ~me/coolApp/modules
The problem though is that when Expat is installed (a requirement for
XML), it creates a series of shared libraries (.so files) in
/usr/lib32 like: libexpat.so.1.0, libexpat.la, etc. My question is
how can I simliarly MOVE these libraries into a "lib" directory off of
my application and allow the modules who use it to SEE that they are
there instead of in the /usr/lib32 directory.
You might ask why I am doing this. I am trying to make a
self-contained little application (TAR'ed up) that can be brought to
any of our Unix Servers and run. The System Admins here are not the
greatest and getting them to "build" something and installed onto all
the servers is near impossible. IN addition, the testers who will be
using this app are not the brightest and have troubles doing things
like "make" and "install". Keeping it to a simple "tar -xvf" is about
the limit that I want them to have to do. So I am trying to build a
self-contained program that has all its libraries, modules, etc right
off of the directory in which the program is un-tarred.
Can any one help?
Thanks!
Sean
- Next message: Thomas Kratz: "Re: Please help a rookie on shared lib problems"
- Previous message: Terry: "Issues with Win32 Perl Modules?"
- Next in thread: Thomas Kratz: "Re: Please help a rookie on shared lib problems"
- Reply: Thomas Kratz: "Re: Please help a rookie on shared lib problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|