Questions tagged [libtool]

GNU libtool is a generic library support script. Libtool hides the complexity of using shared libraries behind a consistent, portable interface.

Building a shared library differs from one architecture to the other. GNU Libtool is a script that allows package developers to create portable compiled libraries. It is often used in conjunction with GNU Automake and GNU Autoconf.

493 questions
0
votes
2 answers

automake dependency tracking for nonstandard C++ suffix

how can i force automake to generate dependency tracking for nonstandard C++ suffix files? in particular I mean generating .deps directory file content. I am using libtool as well. Thanks
Anycorn
  • 50,217
  • 42
  • 167
  • 261
0
votes
1 answer

How do I create location-independent libtool library files with `configure`

I've been spoiled by build tools... I'm trying build some software packages, specifically for Heroku. The suggested build process specifies a configure --prefix=/tmp/package, which both puts the files under /tmp/package and embeds that path into…
Justin Love
  • 4,397
  • 25
  • 36
0
votes
1 answer

How do I resolve the following libtool 64-bit compilation error

I'm trying to compile the NTL library (host is 64 bit, but target platform is 32), but I'm having some trouble with libtool. The command, alongside with the output can be found in this pastebin. I know I'm doing something wrong with the rpath…
shblsh
  • 81
  • 1
  • 9
0
votes
1 answer

Difference between using LIB and ar under cygwin

Under cygwin, with libtool I am trying to link a static library. the --mode=link cl.exe line invokes ar cru on the .obj files to create the .lib. However, I know there's another program under windows, LIB. As far as I understand, it's equivalent to…
Stefano Borini
  • 138,652
  • 96
  • 297
  • 431
0
votes
1 answer

error when compiling -- using autogen generated makefile

I am trying to compile a libwebsocket package, procedure used is :-- ./autogen ./configure make I am getting libtool error at make time :--- make make all-recursive make[1]: Entering directory…
Katoch
  • 2,709
  • 9
  • 51
  • 84
0
votes
1 answer

"No rule to make target `distclean'" when using libtool convenience library

I am writing a C++ package with the GNU Autotools. I'm incorporating several external libraries to ship with the package. As I don't want to install each of those libraries separately, I instead use a "libtool convenience library". The directory…
tflutre
  • 3,354
  • 9
  • 39
  • 53
0
votes
1 answer

installing new version of libtool for -- libwebsocket warmcat

I am installing libwebsocket it is giving me error :--- http://git.warmcat.com/cgi-bin/cgit/libwebsockets/snapshot/libwebsockets-1.0-chrome25-firefox17.tar.gz /pi/libwebsockets-1.0-chrome25-firefox17$ ./autogen.sh Preparing the libwebsockets build…
Katoch
  • 2,709
  • 9
  • 51
  • 84
0
votes
1 answer

using libtool gdb from within geany

I'm working on a project that uses GNU autotools, so in order to debug the code using gdb, I'm running gdb from within libtool: libtool --mode=execute gdbtui foobar Is it possible to somehow do this from within the geany IDE? Or to somehow run…
user1404316
  • 463
  • 6
  • 11
0
votes
1 answer

Do permanent linking to other shared libraries

currently I'm creating a shared library "libmylib.so" using libtool with statements like this: libtool --mode=compile g++ -Wall -fPIC -shared $(CFLAGS) $(LFLAGS) $(LSTATIC) libtool --mode=link g++ -shared -export-symbols-regex beam_ -rpath /usr/lib…
Elmi
  • 5,899
  • 15
  • 72
  • 143
0
votes
2 answers

libtool deleted by 'make distclean'

I've copied libtool into my program's source tree to distribute it with the program. But when I run 'make distclean' libtool is deleted with the rest of the rest of the generated files. How do I stop that from happening? I tried putting EXTRA_DIST…
Steve K
  • 2,124
  • 16
  • 19
0
votes
0 answers

Libshout-2.3.1 make error

I am trying to build libshout from source in Linux and am coming across an error that I can't seem to solve. My ./configure command runs without error but when I run make I get the following error: /usr/bin/sed: can't read =/usr/lib/libogg.la: No…
rob.tice
  • 31
  • 3
0
votes
1 answer

pkg-config --libs returns a .la file, but g++ can't handle it

I'm trying to build something against GStreamer from git. They have some magic process that makes pkg-config happy, but if I run it, I get a .la file: $ pkg-config --libs gstreamer-1.0 /home/blong/gst/head/gstreamer/gst/libgstreamer-1.0.la…
Brendan Long
  • 53,280
  • 21
  • 146
  • 188
0
votes
1 answer

Is it possible to force GNU libtool to use the Solaris CC compiler instead of GCC?

I was curious whether it is possible to force GNU libtool to use the Solaris CC compiler instead of GCC? If so, how might that be done? Here is libtool build script for libpcre 7.28.1, the SMTP,TCP/IP,etc open source library, which I ran on Solaris…
Frank
  • 1,406
  • 2
  • 16
  • 42
0
votes
0 answers

What are *.so.*T files for?

In the log I see a line /usr/bin/install -c .libs/libgiomm-2.4.so.1.0.25T /mydir/glibmm-2.16.4/glibmm-2.16.4/gio/giomm/TEMP/usr/lib/libgiomm-2.4.so.1.0.25 Thats the only place where I see this T file in the build ouptut. Who generates this file…
ghostcoder
  • 473
  • 1
  • 5
  • 17
0
votes
1 answer

Preventing gcc/libtool building a shared object from scratch each time it is linked

I am building an autotools application that links to two shared libraries, libA.so and libB.so. Both of them in turn comprise of shared libraries and static (yes, against recommendation static) libraries. The static library, libmetis is contained in…
Elan
  • 443
  • 5
  • 14
1 2 3
32
33