Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Problem with shared dynamic library files Post 302381668 by proactiveaditya on Saturday 19th of December 2009 12:58:15 PM
Old 12-19-2009
Code:
[root@fred ~]# ldd /bin/rpm
        librpm-4.4.so => /usr/lib64/librpm-4.4.so (0x0000003a52e00000)
        librpmdb-4.4.so => /usr/lib64/librpmdb-4.4.so (0x0000003a52a00000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x0000003a57a00000)
        librpmio-4.4.so => /usr/lib64/librpmio-4.4.so (0x0000003a51a00000)
        libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x0000003a5c000000)
        libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x0000003a51e00000)
        libelf.so.1 => not found
        libbeecrypt.so.6 => /usr/lib64/libbeecrypt.so.6 (0x0000003a52200000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003a50600000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003a50a00000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003a51200000)
        librt.so.1 => /lib64/librt.so.1 (0x0000003a51600000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a50e00000)
        libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x0000003a63000000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003a50200000)
        libelf.so.1 => not found
        libsepol.so.1 => /lib64/libsepol.so.1 (0x0000003a57e00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003a4fe00000)
        libgcc_s.so.1 => not found
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a62800000)
        libgcc_s.so.1 => not found
        libgcc_s.so.1 => not found

When i simply run rpm i get the error:

Code:
[root@fred ~]# rpm
rpm: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory

Which is obvious from the output of ldd

The output of locate command suggests that the libraary file is indeed missing from the system:
Code:
[root@fred ~]# locate libgcc_s.so.1
[root@fred ~]#

 

10 More Discussions You Might Find Interesting

1. HP-UX

Shared Library Problem

I have this error when I try to do check on the oracle database... Can you help me figure out whats the problem? Thanks for all the help! /usr/lib/pa20_64/dld.sl: Unable to find library 'libjox8.sl'. /usr/lib/pa20_64/dld.sl: Unable to find library 'libjox8.sl'. ... (1 Reply)
Discussion started by: vinz
1 Replies

2. Linux

load dynamic and shared library in kernel

hi how can i load dynamic or shared library in linux kernel modules . mtaghiloo@yahoo.com (0 Replies)
Discussion started by: mtaghiloo
0 Replies

3. AIX

Shared Object library problem

Hi, When using shared objects on AIX 4.3 i am getting runtime problems. I have a small sample program which links to a shared object libray, oracle and system related libraries. At runtime it fails (gives segmentation fault and coredump ) in one proc file when executing login statement. But... (0 Replies)
Discussion started by: suman_jakkula
0 Replies

4. Programming

Shared library versioning problem at runtime

My executable was linked under RedHat using the LessTif GUI shared library. When I try to run it under UBUNTU, I get an error message that the LessTif library cannot be found. The LessTif library is there, but it is a newer VERSION. My executable is looking for the older version it was linked with.... (1 Reply)
Discussion started by: imagtek
1 Replies

5. Shell Programming and Scripting

How to change a Makefile from building static library to shared library?

Hi: I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library) Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies

6. UNIX for Dummies Questions & Answers

How to obtain list of object files in a shared (dynamic) library?

How can I simply obtain a list of the object files in a shared (dynamic) library. I am looking for the equivalent of "ar -t <lib>" for archived (static) libraries. Thanks in advance. :rolleyes: ---------- Post updated at 01:47 PM ---------- Previous update was at 12:16 PM ---------- The... (1 Reply)
Discussion started by: chatieremerrill
1 Replies

7. HP-UX

Can't open shared library problem

I am getting following error when I am trying access PMCMD utility /usr/lib/dld.sl: Can't open shared library: /home/build3p/PMReleases/Zeus/HP-UX/xml/xerces2_4_0-icu2_6_1_811/lib/libxerces-c.sl.24 /usr/lib/dld.sl: No such file or directory Please help me with this (0 Replies)
Discussion started by: imran_affu
0 Replies

8. HP-UX

Problem in Shared library file .sl on 64bit HP-UX 11.11

We are facing issue with shared library file, we are getting difference in content for same shared file for chatr command :confused: , below are the detail about *.sl file, even we are also getting difference in size of both file. can you please tell me what will be the issue for same. is my new... (1 Reply)
Discussion started by: amodkavi
1 Replies

9. Programming

Shared library with acces to shared memory.

Hello. I am new to this forum and I would like to ask for advice about low level POSIX programming. I have to implement a POSIX compliant C shared library. A file will have some variables and the shared library will have some functions which need those variables. There is one special... (5 Replies)
Discussion started by: iamjag
5 Replies

10. Programming

problem in dynamic library*.so

hello I apologize if my question bothers you I work on a code developed in C + + which worked well on mac os, this code will help create libraries *.so from *.cc and *.h I used this as flags:CXXFLAGS = -g -O2 -fPIC -Wall -ldl -D_GNU_SOURCE ,CXX := g++ and $(CXX)-shared -o $(LIBNAME) $(CLIBLIB)... (0 Replies)
Discussion started by: pheapc
0 Replies
ppmtosixel(1)						      General Commands Manual						     ppmtosixel(1)

NAME
ppmtosixel - convert a portable pixmap into DEC sixel format SYNOPSIS
ppmtosixel [-raw] [-margin] [ppmfile] DESCRIPTION
Reads a portable pixmap as input. Produces sixel commands (SIX) as output. The output is formatted for color printing, e.g. for a DEC LJ250 color inkjet printer. If RGB values from the PPM file do not have maxval=100, the RGB values are rescaled. A printer control header and a color assignment table begin the SIX file. Image data is written in a compressed format by default. A printer control footer ends the image file. OPTIONS
-raw If specified, each pixel will be explicitly described in the image file. If -raw is not specified, output will default to com- pressed format in which identical adjacent pixels are replaced by "repeat pixel" commands. A raw file is often an order of magni- tude larger than a compressed file and prints much slower. -margin If -margin is not specified, the image will be start at the left margin (of the window, paper, or whatever). If -margin is speci- fied, a 1.5 inch left margin will offset the image. PRINTING
Generally, sixel files must reach the printer unfiltered. Use the lpr -x option or cat filename > /dev/tty0?. BUGS
Upon rescaling, truncation of the least significant bits of RGB values may result in poor color conversion. If the original PPM maxval was greater than 100, rescaling also reduces the image depth. While the actual RGB values from the ppm file are more or less retained, the color palette of the LJ250 may not match the colors on your screen. This seems to be a printer limitation. SEE ALSO
ppm(5) AUTHOR
Copyright (C) 1991 by Rick Vinci. 26 April 1991 ppmtosixel(1)
All times are GMT -4. The time now is 05:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy