Whatever you are running was linked against a foreign shared library that you do not have. You cannot guarantee that libz.sl has the same entry points or functionaility.
will show you what it was linked against. If there are a lot of "so" files you have a big problem. You probably have an exe that was meant to run on a different system.
PA RISC HP systems try to run ELF format files, if they recognize them. "so" files are found in Linux, for example.
I would seriously consider rebuilding the application from source.
If your code absolutely does not do anything but make reports I guess you could try creating a symbolic link in /usr/lib named "libz.so.3" that it points to "libz.sl.1" -- note this is not the best possible idea.
a program on linux uses three libs: libutil.a libtermcap.a libpthread.a.
If I want to transplant this program to Solaris, where can I get the three libs?
Thanks. (2 Replies)
Hi Friends !
Where can I get free ct-lib for Lynix ??
My problem is something like this--
Sybase server is running on a Solaris machine.
Now I trying to access the Sybase from a Lynix machine for which i need ct-lib. I tried by downloading some free ct-libs for Lynix on the net, but they... (2 Replies)
A good day to you, dear experts,
I am a newbie, I noticed in binutils or gcc there are lib and lib32 and lib64, to take binutils as an example,
My system is sgi IRIX6.5, which is suggested to use "n32" flag during the compiling and linking, is that mean that I need to use lib32?
Q1. which one... (2 Replies)
i download a boost library from net on/by window machine...i am using telnet connection.then how can i untar/compile/install boost library to /usr/local/lib...on my unix machine. (1 Reply)
Hello,
I'm experimenting a problem on my rh server.
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux
It started with a segmentation fault on
#id root
To resolve it, I've installed
coreutils-4.5.3-28.4.i386.rpm
But, I... (6 Replies)
Hi,
This is a new problem that I have since few days back. I have a CVS working on HP Unix, which apparently needs libz.so. Suddenly this libz.so seems to be missing.
$ cvs
/usr/lib/hpux32/dld.so: Unable to find library 'libz.so'.
Killed
almost like the file disappeared from the... (3 Replies)
Hi...please help with command to find the library version on AIX server
---------- Post updated at 12:50 PM ---------- Previous update was at 12:31 PM ----------
AIX version is 6.1.Please (4 Replies)
Hi All,
I am trying to install IIS Suite application on AIX box. It gave an error as below
Ensure the following libraries do not exist: /usr/lib/libicuio.a, /usr/lib/libicuuc.a, /usr/lib/libicui18n.a. These libraries may cause uvsh to not work properly.
I manually removed these files by... (1 Reply)
Hi,
I have root access and user name called prod. but it doesn't matter which user I log in as. But I can't CD to the directory. Can you advise.
dr-xr-xr-x 1 root root 1 Sep 12 15:40 lib
$id
uid=4902(prod) gid=50(develop)
$cd lib
-bash: cd: lib: Permission... (7 Replies)
Discussion started by: samnyc
7 Replies
LEARN ABOUT OPENSOLARIS
file
file(1B) SunOS/BSD Compatibility Package Commands file(1B)NAME
file - determine the type of a file by examining its contents
SYNOPSIS
/usr/ucb/file [-f ffile] [-cL] [-m mfile] filename...
DESCRIPTION
file performs a series of tests on each filename in an attempt to determine what it contains. If the contents of a file appear to be
ASCII text, file examines the first 512 bytes and tries to guess its language.
file uses the file /etc/magic to identify files that have some sort of magic number, that is, any file containing a numeric or string con-
stant that indicates its type.
OPTIONS -c Check for format errors in the magic number file. For reasons of efficiency, this validation is not normally carried out. No
file type-checking is done under -c.
-f ffile Get a list of filenames to identify from ffile.
-L If a file is a symbolic link, test the file the link references rather than the link itself.
-m mfile Use mfile as the name of an alternate magic number file.
EXAMPLES
Example 1 Using file on all the files in a specific user's directory.
This example illustrates the use of file on all the files in a specific user's directory:
example% pwd
/usr/blort/misc
example% /usr/ucb/file *
code: mc68020 demand paged executable
code.c: c program text
counts: ascii text
doc: roff,nroff, or eqn input text
empty.file: empty
libz: archive random library
memos: directory
project: symboliclink to /usr/project
script: executable shell script
titles: ascii text
s5.stuff: cpio archive
example%
ENVIRONMENT VARIABLES
The environment variables LC_CTYPE, LANG, and LC_default control the character classification throughout file. On entry to file, these
environment variables are checked in the following order: LC_CTYPE, LANG, and LC_default. When a valid value is found, remaining environ-
ment variables for character classification are ignored. For example, a new setting for LANG does not override the current valid character
classification rules of LC_CTYPE. When none of the values is valid, the shell character classification defaults to the POSIX.1 "C"
locale.
FILES
/etc/magic
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO magic(4), attributes(5)BUGS
file often makes mistakes. In particular, it often suggests that command files are C programs.
file does not recognize Pascal or LISP.
SunOS 5.11 14 Sep 1992 file(1B)