Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[sys-fs/cryptsetup] non compila con lvm2 [risolto upstream]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Nov 29, 2009 4:35 pm    Post subject: [sys-fs/cryptsetup] non compila con lvm2 [risolto upstream] Reply with quote

sono convinto che questo errore di compilazione nasca da qualche misconfigurazione del mio sistema, ma non riesco assolutamente a trovarla.
qualcuno sa darmi una mano?
Code:

s939 ~ # emerge -1 sys-fs/cryptsetup
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-fs/cryptsetup-1.0.6-r2
...
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o cryptsetup -static cryptsetup.o  /usr/lib/libpopt.a ../lib/.libs/libcryptsetup.a -ldevmapper /usr/lib/libgcrypt.a -L/usr/lib /usr/lib/libgpg-error.a -luuid 
/usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldevmapper
collect2: ld returned 1 exit status
make[2]: *** [cryptsetup] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * ERROR: sys-fs/cryptsetup-1.0.6-r2 failed:

_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Sun Nov 29, 2009 11:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
ciro64
Guru
Guru


Joined: 20 Jun 2009
Posts: 424

PostPosted: Sun Nov 29, 2009 10:11 pm    Post subject: Reply with quote

Magari dico una strafesseria però:
Code:
# emerge -1 popt; emerge -1 libgpg-error

o... è già stato fatto ?
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Nov 29, 2009 11:22 pm    Post subject: Reply with quote

provato, ma non funziona.
però ho trovato un baco specifico per questo problema.

ho anche scoperto un workaround divertente quanto balordo:


    1. disinstallare lvm2;
    2. installare device-mapper;
    3. salvare /usr/lib/libdevmapper.a e disinstallare device-mapper;
    4. chiamare emerge -uDN world.

:lol:
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum