unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* libltdl question
@ 2002-09-29 21:16 Bo Forslund
  2002-09-30 16:11 ` Rob Browning
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Forslund @ 2002-09-29 21:16 UTC (permalink / raw)




Hello!

I am trying to put together a guile 1.6.0 rpm package.So far everything
is bundled in one big package just to have something to start with.

I have a question about libltdl. Is it the same as the libltdl that
comes with libtool? If libtool is installed should libltdl from guile
replace the one from libtool? 

Why is a libltdl made. Is it needed by guile? Can it be named
guile-libltdl or something?

Can guile work with libltdl from libtool?

Thanks
Bo



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libltdl question
  2002-09-29 21:16 libltdl question Bo Forslund
@ 2002-09-30 16:11 ` Rob Browning
  2002-09-30 21:55   ` Bo Forslund
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Browning @ 2002-09-30 16:11 UTC (permalink / raw)
  Cc: guile-devel

Bo Forslund <bo.forslund@abc.se> writes:

> I am trying to put together a guile 1.6.0 rpm package.So far
> everything is bundled in one big package just to have something to
> start with.

OK, though if you're interested in the long run, it'd be *really* nice
to have a proper rpm spec file in CVS, one that breaks out the
libraries into separate packages appopriately.  Hopefully with a
ready-made spec file, we might get RH interested in switching
something more reasonable.

> I have a question about libltdl. Is it the same as the libltdl that
> comes with libtool? If libtool is installed should libltdl from
> guile replace the one from libtool?

Yes.  No.  Ideally guile should be built against your system's libltdl
and link against that.  If your system has a libltdl-dev package, make
sure to install that before building guile -- with one caveat -- there
are some buggy versions of libltdl.  We have a patch in our autogen.sh
file for one of the bugs...)

> Why is a libltdl made. Is it needed by guile? Can it be named
> guile-libltdl or something?

Guile depends on libltdl for loading shared libraries at runtime via
(dynamic-link "libfoo").  Ideally all apps on your system should use
the same libltdl shared library so they all have the same behaviors
(and can share lib and function ptrs internally without risk).

So the best arrangement would be for your system to have a good
version of libltdlX, and have your libguile12 rpm depend on that.

A "correct" packaging of guile 1.6.0 should probably look something
like this:

  guile-1.6 (package with /usr/bin/guile -- depends on libguile12)

  libguile12 (separate package for guile's main shared lib -- includes
              includes share/guile/1.6.0/, etc.)

  libguilesrfi-srfi-* (separate packages for each shared lib -- depend
                       on libguile12)

  etc.

I'm gearing up to re-work debian's packages for 1.6.0, so I'll have a
really clear idea after that.  debian's arrangement is mostly right
already, but there are some broken bits there too.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libltdl question
  2002-09-30 16:11 ` Rob Browning
@ 2002-09-30 21:55   ` Bo Forslund
  2002-10-01 22:21     ` Marius Vollmer
  0 siblings, 1 reply; 4+ messages in thread
From: Bo Forslund @ 2002-09-30 21:55 UTC (permalink / raw)
  Cc: guile-devel

On Mon, 2002-09-30 at 18:11, Rob Browning wrote:

> > I have a question about libltdl. Is it the same as the libltdl that
> > comes with libtool? If libtool is installed should libltdl from
> > guile replace the one from libtool?
> 
> Yes.  No.  Ideally guile should be built against your system's libltdl
> and link against that.  If your system has a libltdl-dev package, make
> sure to install that before building guile -- with one caveat -- there
> are some buggy versions of libltdl.  We have a patch in our autogen.sh
> file for one of the bugs...)

How do o know if it is a buggy libltdl. With a fresh ltdl i think i can
have a spec ready in a couple of days.

I build on mdk 8.2 (now rather non-standard) if it matters. 

Bo





_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: libltdl question
  2002-09-30 21:55   ` Bo Forslund
@ 2002-10-01 22:21     ` Marius Vollmer
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Vollmer @ 2002-10-01 22:21 UTC (permalink / raw)
  Cc: Rob Browning, guile-devel

Bo Forslund <bo.forslund@abc.se> writes:

> How do o know if it is a buggy libltdl.

All libtool versions prior to and including 1.4.2 have the bug.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-01 22:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-29 21:16 libltdl question Bo Forslund
2002-09-30 16:11 ` Rob Browning
2002-09-30 21:55   ` Bo Forslund
2002-10-01 22:21     ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).