Re: static libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




 
Anyway, if you find some situation when configure script doesn't detect
some missing library, let me know (with proper info mentioned above).


i am using version 0.27.1 of pkg-config

http://pastebin.com/ASBk1X6K

Above is a pastebin of a build problem i encountered when trying to build statically.

The development package of libgrypt does not ship with libgcrypt.a in the distribution i am using and this necessitated me to build another version of libgrcypt to have a static library and i installed it in "/home/local" because thats where i install personal packages.

As you can see from the link,the build see my personal libraries( in /home/local) as well as those in "/usr".I think it shouldnt see those in /usr.It should see and use one or the other and not both.

The first time around,the build fail at line number 242,that happened because i removed "/usr/lib/libgcrypt.a".

Adding the library back and the build failed again at line 281.

I solved the problem by overwriting the gcrypt libraries in /usr/ with my local build but this is not good. I try not to overwrite packages managed by my distribution but it look like i did not have a choice here.

Also,in line 173,the check will fail if "libgpg-error.a" is missing.This may be important because a link btw gcrypt and gpg-error may not be obvious.

line 176 maybe a potential problem too.

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux