[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamic Linking on Linux?

From: John W. Eaton
Subject: Dynamic Linking on Linux?
Date: Fri, 21 Feb 1997 02:54:55 -0600

On 21-Feb-1997, address@hidden <address@hidden> wrote:

| I tried to compile octave with dynamic linking. (./configure
| --enable-dl) (I am using a rather inefficient Spherical Bessel Function
| routine, that would be usefully faster if compiled). But I failed.

I would recommend also using --enable-shared, because that will make
your loadable .oct files much smaller.

| The dlopen man page includes an example: but I don't have the file
| <dlfcn.h> to include, so I fail on that.

Your system must be missing some things (perhaps because they are part
of a `development' package that was not installed by default).  What
distribution, kernel, compiler, and library versions do you have?

| Is dynamic linking possible in Linux - easilly? Techniques involving
| installing the new gnu libc would count has hard. Has anyone done it?

It *should* be easy.  I don't have the latest libraries.  On my
system, dlfcn.h is part of the ldso package.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]