Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: yifangt
Forum: Programming 01-18-2020
7,641
Posted By yifangt
I meant static library and archive are different...
I meant static library and archive are different names for *.a files, but not clear the options to the *.a files and *.so files in the command line for my sample code.
I'm so sorry for the...
Forum: Programming 01-17-2020
7,641
Posted By yifangt
Thanks Greg, and Neo---although your input is...
Thanks Greg, and Neo---although your input is more than I expected.
I found the topic deviated from the original point I was asking, because there are many aspects hidden behind my question that I...
Forum: Programming 01-16-2020
7,641
Posted By yifangt
Use of variable $ORIGIN & -rpath
If you link to a shared library intead of the archive it's a little more complicated.
Thank you for point that out. Actually I meant the archive here.
I happened to found this article...
Forum: Programming 01-15-2020
7,641
Posted By yifangt
Come to ld_config now
The compiling worked after:$ LIBROOT="/home/yifangt/Study/C/VCF/htslib-1.10.2"
$ gcc -Wall -O3 -o vcf_parser01 vcf_parser01.c vcf.c -I ${LIBROOT}/htslib -I ${LIBROOT} -L ${LIBROOT} -lhts
$...
Forum: Programming 01-15-2020
7,641
Posted By yifangt
library path(s) and subfolders within
Thanks!

Does the -L option ensure the sub-directories are searched recursively?

The -lhtslib-1.10.2 option of your command line may be wrong in this case as htslib-1.10.2 is a folder under...
Forum: Programming 01-15-2020
7,641
Posted By yifangt
Thanks Neo and Greg! $ pwd ...
Thanks Neo and Greg!
$ pwd
/home/yifangt/Study/C/VCF
$ ls ${PWD}
config.h for_post hts_internal.h htslib htslib-1.10.2 htslib-1.10.2.tar.bz2 README textutils_internal.h tmp.err vcf.c ...
Forum: Programming 01-14-2020
7,641
Posted By yifangt
How to make use others' C library installed not for the system-wide (Ubuntu/Linux)?
I have downloaded and installed a library called htslib (http://www.htslib.org/download/) for specific bioinformatic use but not for the system (I'm using Ubuntu 18.04). Only parts of the library is...
Showing results 1 to 7 of 7

 

Featured Tech Videos

All times are GMT -4. The time now is 05:44 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy