Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
Hi,
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
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.
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 -
cd wcslib-4.5
then if you do not need to specify any configuration options, simply run
gmake
you run gmake not configure
unless you want to tweak / hack the code then
Code:
./configure --prefix=/some/other/dir
gmake
Use
./configure --help
to list configure's options. Useful options are
--with-pgplotinc
--with-pgplotlib
--with-cfitsioinc
--with-cfitsiolib
and you STILL run gmake
i will have to look into this
i use ISIS 3 my self for reprojecting image data from spacecraft
just downloaded the file and build it. Just untar the package and cd into the directory. There you just can run
Code:
make
make check
sudo make install
Make sure that your make is GNU make, as mentioned in the INSTALL instructions. This should be case, I have not heard of a linux distro that uses something else then GNU make. More important, check that 'make' is at least version 3.79.1.
My make version:
Code:
$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
$
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.