Can't set up soname

From: Sebastiano (info_at_sebastianogazzola.it)
Date: 02/25/04


Date: Wed, 25 Feb 2004 14:39:54 +0100

I have compiled a shared library with these commands:

gcc -fPIC -c *.c
gcc -shared -W1,-soname,libseba.so.1 -o libseba.so.1.2.3 *.o

but if I copy the resulted shared library in /lib directory and I run
ldconfig utility it doesn't create any link named libseba.so.1. When I
execute this command

objdump -x libseba.so.1.2.3 | grep SONAME

it doesn't return nothing. Why? Which command do I have to use for indicate
the soname for the new library? What is wrong?

Many thanks

Sebastiano



Relevant Pages

  • Re: Shutting down Windows with command line
    ... Microsoft MVP [Windows] ... "Sebastiano" wrote: ...
    (microsoft.public.windows.server.general)
  • Re: Shutting down Windows with command line
    ... I use on our XP and W2k3 boxes ... "Sebastiano" wrote in message ... > I want to shut down Windows with a command line, so I can make a batch or ...
    (microsoft.public.windows.server.general)
  • Re: .so and .so.0 r same?
    ... Gmu wrote: ... I have a dependency with libxxx.so but all I an find in my ... > * Is there a command like soname or something to find out what the soname ...
    (comp.os.linux.development.apps)