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
3 answers

Install imagick on gentoo error

When i use this command pecl install imagick to install imagick for php i got this error message : libtool: Version mismatch error. This is libtool 2.2.6b, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should…
Kannika
  • 2,538
  • 2
  • 27
  • 38
0
votes
2 answers

Disabling cxx support for libtool after calling AC_PROG_CXX

For my project (library), I use configure with libtool and automake to build under linux hosts. The library consists of a C API, as well as an optional C++ extension. So, since AC_PROG_CXX must be called globally, I use automake…
neoaggelos
  • 632
  • 1
  • 4
  • 18
0
votes
0 answers

Libtool link shared lib against a static lib given by an explicit path (no -l option)

I want to pull all symbols from a static library (libyaml-cpp) into a shared one that I'm building (libLHAPDF), to avoid an explicit dependency for users of the latter. (It's not my favourite way to do things, but the difficulty of installing the…
andybuckley
  • 1,114
  • 2
  • 11
  • 24
0
votes
1 answer

Compiling a static pkg-config binary

I'm trying to build a static pkg-config binary, using: LDFLAGS='-static' ./configure --disable-shared However, the produced binary is dynamically linked. I even tried fiddling with the Makefile, using: CC = gcc -static and CCLD = gcc -static but…
0
votes
0 answers

windows libtool mingw looking in g drive

I'm cross compiling a program from ubuntu which has a makefile which uses libtool, g++, and SDL. When I run the makefile, it compiles all the object files, however when it gets to the link stage, it gives this error g++.exe: error:…
bathtub
  • 426
  • 3
  • 15
0
votes
3 answers

Valgrind not showing line numbers on GNU autotools project in spite of -g flag

I'm working on a GNU Autotools project where I'm encountering some strange memory allocation errors. I want to use Valgrind to debug, however when I run my executable under it I don't get any line numbers or source file names. I even tried…
Eru_Iluvatar
  • 119
  • 10
0
votes
1 answer

Undefined reference to functions in library

I am trying to get Oktopous CCXML running to test the CCXML execution. I have the liboktopous 32 bit library which I downloaded from Oktopous site. The file info for the liboktopous.so liboktopous.so: ELF 32-bit LSB shared object, Intel 80386,…
Abhishek
  • 2,543
  • 4
  • 34
  • 46
0
votes
1 answer

Is there a way around macports to install libtool?

According to this question, I need to install macports to get libtool and various other dependencies. Is it possible to do this without macports? Can I download these files individually somewhere?
user1068636
  • 1,871
  • 7
  • 33
  • 57
0
votes
1 answer

libs directory is not creating automatically in libtool

I have used this command. libtool --mode=compile gcc -g -o -c foo.c Actual output should be like this after the command: $libtool --mode=compile gcc -g -O -c foo.c mkdir .libs gcc -g -O -c foo.c -fPIC -DPIC -o .libs/foo.o gcc -g…
user2732944
  • 75
  • 2
  • 4
  • 10
0
votes
1 answer

binutils bfd links against system iberty instead of built iberty

When building binutils, the bfd component is failing to link because it is linking against the system version of libiberty instead of the built version under binutuils/libiberty/lib64/libiberty.a. I can't see a configure argument to allow me to…
Craig
  • 4,268
  • 4
  • 36
  • 53
0
votes
1 answer

Error while compling vlc for android ,was it about libtool version?

I have downloaded vlc source code . after running script below sh compile.sh I got an error mkdir -p -- /root/workspace/android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd png && autoreconf -fiv…
armysheng
  • 133
  • 7
0
votes
2 answers

C Program Compilation issue involving Glib2 library?

I'm trying to compile the following project on a remote server. I've git cloned the project on a folder called 'scode'. The project requires glib2 and gsl libraries. Since I'm trying to compile on a remote server, I do not have sudo privileges. So I…
AnlamK
  • 1
  • 2
0
votes
2 answers

I can't find libtool command on my MacOSX,10.7.x

I can't find libtool command.I tried to run $man libtool,Terminal returned "No manual entry for libtool" So I tried to download libtool from GNU site and install it... Still I can't find the libtool command. Any help would be appreciated.
Allamaprabhu
  • 845
  • 1
  • 7
  • 17
0
votes
1 answer

How to get autoconf to specify a postdep in libtool

I'm currently building a shared object library that use a combination of static and dynamic linking to other libraries. One of the libraries that I want to dynamically link to is librt. However if -lrt is added to the set of arguments passed to…
Michael Barker
  • 14,153
  • 4
  • 48
  • 55
0
votes
1 answer

libapreq2: libtool: link: CURRENT `' must be a nonnegative integer

When I try to install libapreq2, I get the error: libtool: link: CURRENT `' must be a nonnegative integer libtool: link: `:0:8' is not valid version information How do I resolve it? bash-3.2$ wget…
user2556488
  • 59
  • 1
  • 10