12-21-2011
library problem on AIX
Hi Unix Experts,
I have seen with AIX, that sometimes my new libraries are not picked up by executable. This could be the problem of "loader domain" on AIX.
As I found on below link AIX libraries do stick in the memory.
AIX shared libraries
The remedy for this is to run slibclean command or removing read permission for others on library. However I have seen that none of these remedies work at many times and the only solution remains is to restart AIX box.
Recently I have seen a problem wherein my exe was taking a lib from a path not shown in LIBPATH/PATH. May be that was the path used to build that exe at compile time. Does anyone know how this is possible?
Related links...
Why does slibclean require root?
pSeries and AIX Information Center
(1) Is the library stick in the memory is a feature of AIX or is it a problem in AIX?
(2) Is slibclean really works?
thanks in advance,
Ashish
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have query on Library Interposer:
We are working on a product which requires library interposing. And
according to the market requirements, needs to be migrated on AIX OS also.
So now, the question is "Is library interposing possible in AIX?" If yes,
how? If no, then what are the... (1 Reply)
Discussion started by: mrunalrane
1 Replies
2. UNIX for Advanced & Expert Users
Hello,
We are working on a product which requires library interposing. And
according to the market requirements, needs to be migrated on AIX OS also.
So now, the question is "Is library interposing possible in AIX?" If yes,
how? If no, then what are the other alternatives?
As per my... (2 Replies)
Discussion started by: mrunal
2 Replies
3. AIX
Hi,
I am running my application on two AIX 5.3 64 bit boxes. In one of the boxes it is running fine without any problems. But on the other box it fails as soon as it is started and it core dumps. When I was analysing the core I was able to find the below two lines in addition to other... (4 Replies)
Discussion started by: allthanksquery
4 Replies
4. AIX
I am having my 14 Aix 5.3 servers on bladecenters connected with my Tape Library.
I had a backup scheduled on tape library but after taking backup successfully,
Now,
Question 1:-
I wanted to restore backup but tape library could not recognize the tape and I get I/O error in TSM. I think it... (0 Replies)
Discussion started by: Shrek
0 Replies
5. AIX
Hi,
I am looking for just the JMS C API libraries for AIX (hopfully I don't have to install websphere!), I have found them for Sun, HP and Linux, but not for AIX. Can someone point me in the right direction? Thanks! (0 Replies)
Discussion started by: CTBlack
0 Replies
6. AIX
Hi,
I have one library(libfoo.a) that is folder /home/xyz and my c program is in /home/xyz/cprog. Whenever I issue cc command
cc -o test test.c -lfoo , i get the error /usr/bin/ld: cannot find -lfoo.
echo $PATH has already listing of /home/xyz variable, even LIBPATH also has same entry... (0 Replies)
Discussion started by: rishisoft1
0 Replies
7. AIX
Hi,
M/c- aix 5.3
I want to install expat-2.0.1.
When run the make command it gives the error..
collect2: library libgcc_s not found
make: The error code from the last command is 1.
Stop.
Thanks (7 Replies)
Discussion started by: tukuna82
7 Replies
8. AIX
Hi,
I have an application running on AIX. The app is deployed on Webspshere server. Due to some reason, i have to make use of a third party library (Sigar API's) from my application. This library requires an .so file as well.
Is there any location where i can put this *.so file and it will... (1 Reply)
Discussion started by: user_guest
1 Replies
9. Linux
Hello,
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
checking for db1/db.h... no
checking for db.h... yes
checking for dbopen in -ldb1... no
configure: error: No libdb? No libsf.
But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies
10. AIX
Can somebody help me too identify full path to socket library on AIX? Cannot find anything
Thanks
for contribution (2 Replies)
Discussion started by: digioleg54
2 Replies
LEARN ABOUT REDHAT
uri::url
URI::URL(3) User Contributed Perl Documentation URI::URL(3)
NAME
URI::URL - Uniform Resource Locators
SYNOPSIS
$u1 = URI::URL->new($str, $base);
$u2 = $u1->abs;
DESCRIPTION
This module is provided for backwards compatibility with modules that depend on the interface provided by the "URI::URL" class that used to
be distributed with the libwww-perl library.
The following differences compared to the "URI" class interface exist:
o The URI::URL module exports the url() function as an alternate constructor interface.
o The constructor takes an optional $base argument. The "URI::URL" class is a subclasses of "URI::WithBase".
o The URI::URL->newlocal class method is the same as URI::file->new_abs
o URI::URL::strict(1)
o $url->print_on method
o $url->crack method
o $url->full_path; same as ($uri->abs_path || "/")
o $url->netloc; same as $uri->authority
o $url->epath, $url->equery; same as $uri->path, $uri->query
o $url->path and $url->query pass unescaped strings.
o $url->path_components; same as $uri->path_segments (if you don't consider path segment parameters).
o $url->params and $url->eparams methods.
o $url->base method. See URI::WithBase.
o $url->abs and $url->rel have an optional $base argument. See URI::WithBase.
o $url->frag; same as $uri->fragment
o $url->keywords; same as $uri->query_keywords;
o $url->localpath with friends map to $uri->file
o $url->address and $url->encoded822addr; same as $uri->to for mailto URI.
o $url->groupart method for news URI.
o $url->article; same as $uri->message
SEE ALSO
URI, URI::WithBase
COPYRIGHT
Copyright 1998-2000 Gisle Aas.
perl v5.8.0 2002-05-09 URI::URL(3)