Re: tn5250 release

James Rich <[email protected]>
Newsgroups gmane.comp.emulators.tn5250
Message-ID <[email protected]>
On Fri, 21 Nov 2008, Porterfield, Sean wrote:

>> James Rich wrote:
>
>> The latest version of x5250 is x5250-0.5.2-pre4.tar.gz available at:
>
>> http://www.eaerich.com/x5250-0.5.2-pre4.tar.gz
>
> That works much better, thanks.  I thought there was a pre4 but could 
> not find it when I downloaded the pre3 version.  Now I'm back to 
> something I'm pretty sure I've had before, but don't care enough tonight 
> to solve:
>
> x5250: error while loading shared libraries: lib5250.so.0: cannot open 
> shared object file: No such file or directory
>
> It might be the good ole ldconfig issue.

You are correct, this is a case of ldconfig not knowing where to find the 
library.  One option that you might consider is using the --prefix 
argument to ./configure like this:

./configure --prefix=/usr

That will install things in /usr instead of /usr/local.  Of course, lots 
of people don't like mixing things they build themselves with what comes 
with their distribution, so it is up to you.  I've found my preferred way 
to run configure is like this:

./configure --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var/lib/tn5250

This means I can put a tn5250rc file in /etc that can be used by all 
users.  Everyone has their favorite configuration, this is just mine.

James Rich

if you want to understand why that is, there are many good books on
the design of operating systems. please pass them along to redmond
when you're done reading them :)
 	- Paul Davis on ardour-dev
-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.