![]() |
Getting only .a no .so files
I'm compiling a library that uses what appear to be the usual configure, automake system. It builds fine, but only makes .a files, not .so files. I know .so are possible, because my machine at work has the same library with .so (and ironically no .a, but that's not a problem)
I've examined all of configure's options, read the INSTALL, and googled, but am puzzled about this one. Haven't heard from the library's author, who might not be available a few day. |
Quote:
post the exact commands that you issue and more important tell us the name of the package that you are trying to compile. Most of us are not psychic :) |
Quote:
What!? This is www.psychiclinuxquestions.org?? :P I was hoping there'd be some simple generic reason that configure+make would not make .so files, perhaps some goofy env var or known bug in the gnu automake system. But I have built other libraries in the last few days w/o this trouble, getting my .so just fine. Okay, the package is wcslib, obtainable from http://www.atnf.csiro.au/people/mcalabre/WCS/ The exact commands are just the plain: bash> configure bash> make |
?? have you read ./configure --help ????
and this is Arch i take it YOU DO not want to install the program to /usr/local ??? right you want to but it into /usr you might want to use the --prefix configure command also did you read the files INSTALL and README from the INSTALL Code:
zcat wcslib-4.5.tar.gz | tar pvxf -unless you want to tweak / hack the code then Code:
i will have to look into this i use ISIS 3 my self for reprojecting image data from spacecraft |
Hi,
just downloaded the file and build it. Just untar the package and cd into the directory. There you just can run Code:
makeMy make version: Code:
$ make --version |
I've got the same make version. All the basics of building seem to be okay. Most configure scripts I've known take an --enable-shared option, but that had no effect on this one.
I tried autoconfigure, since there's a configure.ac file for it. Now there's a libwcs.so.4.5.4, but no libpgsbox.so.* which is the thing the big app needs. |
| All times are GMT -5. The time now is 10:33 AM. |