Operating System - HP-UX
1754913 Members
4019 Online
108827 Solutions
New Discussion юеВ

Re: /usr/local/lib/libfl.sl not found

 
SOLVED
Go to solution
Ilker Tarkan_1
Occasional Contributor

/usr/local/lib/libfl.sl not found

Hi,

I have a library which I compiled many times before. Today, when I tried to do same thing again, ar function gives me the following message:
/usr/lib/dld.sl: Can't open shared library: /usr/local/lib/libfl.sl
/usr/lib/dld.sl: No such file or directory

I searched the system and there is no file called libfl.sl. I can't imagine how, but it looks like the file is removed.

Now, does anyone know how I can retrieve this library? Or does the error message mean something else?

OS: HPUX 11.00

PS: No, I don't have a backup of /usr

Thanks!
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: /usr/local/lib/libfl.sl not found

This may be a problem with your SHLIB variable. Perhaps .profile or /etc/profile hs been effected or is not set right.

Attaching a copy of that file from a 32 bit 11.00 system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ilker Tarkan_1
Occasional Contributor

Re: /usr/local/lib/libfl.sl not found

Thanks Steven,

But that file(libfl.sh) does not exist anywhere in the system. So setting SHLIB_PATH won't solve this problem.

Thanks,
Ilker
Sridhar Bhaskarla
Honored Contributor
Solution

Re: /usr/local/lib/libfl.sl not found

Hi,

It is looking for Flex as libfl.sl is part of Flex.

I have got it in /opt/flex/lib. I got it compiled myself. But if you download it from the porting center, it will install it under /usr/local/lib.

http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Gnu/flex-2.5.4a


$/usr/sbin/swlist -l file flex
# Initializing...
# Contacting target "xxxxxx"...
#
# Target: xxxxxxx:/
#

# flex 2.5.4a flex
# flex.flex-RUN
/opt/flex/bin/flex
/opt/flex/bin/flex++
/opt/flex/doc/COPYING
/opt/flex/doc/HPUX.Install
/opt/flex/doc/INSTALL
/opt/flex/doc/NEWS
/opt/flex/doc/README
/opt/flex/include/FlexLexer.h
/opt/flex/lib/libfl.a
/opt/flex/lib/libfl.sl
/opt/flex/man/man1/flex.1

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: /usr/local/lib/libfl.sl not found

Hi,

Try this

http://hpux.connect.org.uk/hppd/hpux/Gnu/flex-2.5.4a/

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ilker Tarkan_1
Occasional Contributor

Re: /usr/local/lib/libfl.sl not found

Installing Flex did it!

It direcly installed in /usr/local/lib

Thanks Sri!