Subject: need libbsd.so.1.0.0

From: "Susan G. Kleinmann" <[email-masked]>
Date: Mon, 02 Sep 1996 12:03:04 -0400

The current implementation of postgres95 for Debian requires 
libbsd.so.1.0.0, but the libc5 package includes only libbsd.a.
(How) can I make libbsd.so.1.0.0 from the .a file?
(Sorry to be asking what I imagine is such a naive question.)

Thanks in advance,
Susan Kleinmann

---

From: David Engel <[email-masked]>
Date: Tue, 3 Sep 1996 11:23:17 -0500 (CDT)

> (Sorry to be asking what I imagine is such a naive question.)

I have no idea where the libbsd.so.1.0.0 came from.

David
---
David Engel                        Optical Data Systems, Inc.
[email-masked]                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081

---

From: [email-masked] (joost witteveen)
Date: Tue, 3 Sep 1996 23:26:04 +0200 (MET DST)

> I have no idea where the libbsd.so.1.0.0 came from.

But if you've got the .a file, cannot you make the .so file by:

mkdir t
cd t
ar -x ../libbsd.a
gcc -o libbsd.so.1.0.0 -shared -W,l-soname,libbsd.so.1 *.o

(I may well be _very_ wrong, and please flame me if I am,
but I just _think_ it would work, and it's easy to find out).

-- 
joost witteveen
            [email-masked]
          [email-masked]
--
Use Debian/GNU Linux!

---

From: Guy Maor <[email-masked]>
Date: Tue, 3 Sep 1996 23:55:46 -0500 (CDT)

> gcc -o libbsd.so.1.0.0 -shared -W,l-soname,libbsd.so.1 *.o

Unless the .o files were compiled with -fpic, you'd have an unsharable
shared lib - not a very useful thing.

Guy

---

From: [email-masked] (David Engel)
Date: Wed, 4 Sep 1996 11:10:18 -0500 (CDT)

joost witteveen writes:
> ...

Guy already answered the part about building a shared library.

> but I just _think_ it would work, and it's easy to find out).

My point was that somebody built a package that uses a shared library
that we don't even provide.  IMO, finding out, what it is, where it
came from and why it was used is more important than making a shared
version of the libbsd.a provided by libc.

David

---

From: Dominik Kubla <[email-masked]>
Date: Wed, 04 Sep 1996 18:19:07 +0200

Hi Joost,

> but I just _think_ it would work, and it's easy to find out).

Ahm, you are wrong:
To build shared libs the object files need to be compiled with -fpic which
results in position independend code.

Dominik
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Visit the FAN SITE of the WORLD LEAGUE OF AMERICAN FOOTBALL:
<A HREF="http://www.uni-mainz.de/~kubla/WLAF/Welcome.html>HTTP</A> or
<A HREF="file:/afs/zdv.uni-mainz.de/homes/UFO/kubla/public_html/WLAF/Welcome.ht
ml">AFS file</A> access.