-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copycat: Change magic-static to magic #105
base: master
Are you sure you want to change the base?
Conversation
Fix the error: ld: library not found for -lmagic-static
copycat is an NCBI internal tool that is statically linked - we cannot have a dynamic link here. You're welcome to use it if you can figure out something useful, but it is not for external use. |
I have no particular need for |
If you are unable to build, then let's file a bug against configuration that it doesn't pick up on the fact that you don't have a static libmagic. I'm glad you got the build to work, and we're close to a new release - so we can probably make this adjustment quickly. By the way, we've been planning a big overhaul of the whole make system for a while... |
Why is this option |
Ubuntu does install a static library named |
I prefer the autotools myself, |
Looks like this line should be - $library = '-lmagic';
+ $library = '-lmagic-static'; sra-tools/setup/konfigure.perl Line 1516 in 0597af0
|
So many comments! Let's see:
|
How can I reproduce the problem with I can build copycat on Ubuntu after I installed |
Fix the error:
The file
libmagic-static.*
does not exist on Ubuntu.See https://packages.ubuntu.com/search?searchon=contents&keywords=libmagic-static&mode=filename&suite=xenial&arch=amd64
There is however a file name
libmagic.so
.See https://packages.ubuntu.com/search?mode=filename&suite=xenial§ion=all&arch=amd64&keywords=libmagic.so&searchon=contents
See the failed build log at
https://gist.githubusercontent.com/sjackman/1d82c11853fd4c16bbfa7d0e3f553e2b/raw/543e2b51e6db0eeef42208198a860664892d2d02/08.make
and https://gist.github.com/sjackman/1d82c11853fd4c16bbfa7d0e3f553e2b#file-08-make-cc