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
1 answer

checking if libtool supports shared libraries... no

I am trying to cross compile CURL for ARM and Linux Platform. It doesn't create the Make file for Shared Library When i do through ./configure, it is providing the make file for static library only. Below two major errors are seen in the…
MSREDDY
  • 41
  • 3
0
votes
1 answer

-lstdc++ to LIBADD option stripped in libtool archive

I'm working on a C code but need to couple with a C++ code. My Makefile.am has lines like libfoo_la_LIBADD += -lstdc++ but the generated libtool archive libmhd.la does not have -lstdc++ in the dependency_libs, and at linking time errors like…
Liang
  • 1,015
  • 1
  • 10
  • 13
0
votes
0 answers

libtool directory argument does not work

In qemu I use below command to install tools such as qemu-ga.exe, but the problem is libtool does not accept its directory argument correctly. If I run the command like this, msdperera@msdperera-PC MSYS /qemu $ libtool --quiet --mode=install install…
sandun dhammika
  • 881
  • 3
  • 12
  • 31
0
votes
1 answer

Libtool issue while compiling Liblinphone

I'm trying to compile this lib: https://github.com/BelledonneCommunications/linphone-iphone During generation I get this: /linphone-iphone/submodules/build/..//externals/speex/libspeex/cb_search.c libtool: Version mismatch error. This is libtool…
orkenstein
  • 2,810
  • 3
  • 24
  • 45
0
votes
1 answer

How to reuse objects between Automake program and tests targets?

I have a non-recursive Makefile.am with something like the following: SHARED_SRCS = src/bar.cpp src/baz.cpp bin_PROGRAMS = foo foo_SOURCES = src/main.cpp $(SHARED_SRCS) foo_CXXFLAGS = -I$(srcdir)/src $(SOME_CFLAGS) foo_LDADD =…
user1244033
0
votes
2 answers

Getting exe when building dll using libtool

I'm trying to compile .dll of this project on windows using MinGW. Everything goes ok except one point: output is the .exe file - not .dll. Here is the notification, that libtool gave me: *** Since this library must not contain undefined…
im_infamous
  • 327
  • 1
  • 3
  • 17
0
votes
1 answer

Can I extract libtool configuration from automake/autoconf for seperate use?

I have a simple C++ library which uses a short autoconf, automake and libtool to build a shared library object. Now I want to be able to dynamically compile new code at run-time in my program, by: Output code to a temporary file (say…
Chris Jefferson
  • 7,225
  • 11
  • 43
  • 66
0
votes
0 answers

objdump -W sees line numbers, objdump -drl and gdb don't?

There are a lot of questions with missing source files etc, and I tried all that I could find to no avail. This is about a library of mine, with some helper applications. I use autotools (and libtool). I have compiled my code with -g and no…
Shahbaz
  • 46,337
  • 19
  • 116
  • 182
0
votes
3 answers

libtool error "no option: -static" while installing/compiling openzwave

npm install openzwave fails - compilation fails. libtool error: no option "-static" Darwin 13.3.0 Darwin Kernel Version 13.3.0, MacBookPro11,2 Darwin gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at…
Brad Hein
  • 10,997
  • 12
  • 51
  • 74
0
votes
1 answer

Make error on Mac OS X: libtool: compile: unrecognized option `-c'

I am trying to make a tool called seqpp. But I get this error: /bin/sh ../libtool --tag=F77 --mode=compile -c -o fcdiv.lo fcdiv.f libtool: compile: unrecognized option `-c' libtool: compile: Try `libtool --help' for more information. I work on…
Fringant
  • 525
  • 1
  • 5
  • 17
0
votes
1 answer

sanity checking package for gcc

i'm building a cross compiler for my MinGW, targeting i386-pc-linux-gnu. well, i'm concerned with the binutils and gcc (binaries, includes, everything) that i've compiled, being mashed together with the current one. also, once i get the…
kozner
  • 141
  • 1
  • 5
0
votes
0 answers

Is it OK to manually edit .la files to make 'make' work?

While I make from source codes, I get a mistake in the final CCLD, saying cannot find libudev.la. I tried to re-install udev libudev1 libudev-dev, failed to make 'make' work. I googled and found a solution in…
Blangero
  • 115
  • 1
  • 1
  • 10
0
votes
1 answer

`make check` fails in VPATH

I'm trying to create a autotools-based project with a libtool target and tests. Everything works except make check in a VPATH (or make distcheck). Here is the Makefile.am for tests: AM_CPPFLAGS = -I$(top_srcdir)/include LDADD =…
LodeRunner
  • 7,975
  • 3
  • 22
  • 24
0
votes
2 answers

configure: error: libtool configure failed

I gave ./configure in tclreadline for tclreadline2.1.0 and got this error loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make…
user3679622
  • 23
  • 1
  • 6
0
votes
3 answers

Compilation failed for Lighttpd 1.4.26 on Lenny AMD64

yesterday I tried to compile Lighttpd 1.4.26 + mod_h264 on Debian Lenny ( AMD64 ) but it failed. I got those errors : mail:/usr/src/lighttpd/lighttpd-1.4.26# make make all-recursive make[1]: Entering directory…
Eno
  • 2,535
  • 2
  • 15
  • 6