Re: [vchkpw] vpopmail + gentoo + mysql
Am Montag, 25. April 2005 03:55 schrieb Trever Noggle: I am not able to get courier-authlib to compile with vpopmail. i did emerge courier-imap and emerge courier-authlib and it always dies at the same place. does anyone have any idea what is causing this. below is the place where it is failing. Linking libauthvchkpw.la Linking authdaemontest /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ ld: /var/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libauthvchkpw.la] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' make: *** [all] Error 2 !!! ERROR: net-libs/courier-authlib-0.55 failed. !!! Function src_compile, Line 100, Exitcode 2 !!! Compile problem !!! If you need support, post the topmost build error, NOT this status message. There was somewhere a thread containing courier-authlib and AMD64 with -fPIC around in the last days. It was called compile vpopmail with -fPIC on x86_64. I am not sure if these guys found a solution because on my AMD64 it works without any problems (I am using an older version) and because of this I didn't follow this thread... There is one thing which makes me thinking that the mentioned thread _could_ be the wrong one for you... This is based on one of the error-messages you posted: /var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value Did you already install vpopmail? IMHO courier needs some vpopmail-libraries. Because of the fact, that I installed the whole thing last time about 1 year ago, I currently don't really remember the order of installations. But maybe it's a point to have a look for... Btw: IMHO the ebuilds for qmail, vpopmail and courier provided by Gentoo aren't very good. After having some troubles while using them, I installed these thing completely by hand. irony Maybe you want to ask Jeremy Kitchen from Inter7 for his opinion about the mentioned ebuilds. /irony NB: Jeremy IS using Gentoo and very deep into qmail, vpopmail and these things... Just my $ 0.05 Greetings from Switzerland Tobias
Re: [vchkpw] vpopmail + gentoo + mysql
Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tobias Orlamuende wrote: | Am Montag, 25. April 2005 03:55 schrieb Trever Noggle: | |I am not able to get courier-authlib to compile with vpopmail. i did |emerge courier-imap and emerge courier-authlib and it always dies at the |same place. does anyone have any idea what is causing this. | |below is the place where it is failing. | |Linking libauthvchkpw.la |Linking authdaemontest |/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ |ld: /var/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S |against `a local symbol' can not be used when making a shared object; |recompile with -fPIC |/var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value |collect2: ld returned 1 exit status |make[2]: *** [libauthvchkpw.la] Error 1 |make[2]: *** Waiting for unfinished jobs |make[2]: Leaving directory |`/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' |make[1]: *** [all-recursive] Error 1 |make[1]: Leaving directory |`/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' |make: *** [all] Error 2 | |!!! ERROR: net-libs/courier-authlib-0.55 failed. |!!! Function src_compile, Line 100, Exitcode 2 |!!! Compile problem |!!! If you need support, post the topmost build error, NOT this status |message. | | | There was somewhere a thread containing courier-authlib and AMD64 with - -fPIC | around in the last days. It was called compile vpopmail with -fPIC on | x86_64. I am not sure if these guys found a solution because on my AMD64 it | works without any problems (I am using an older version) and because of this | I didn't follow this thread... | There is one thing which makes me thinking that the mentioned thread _could_ | be the wrong one for you... This is based on one of the error-messages you | posted: /var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value | Did you already install vpopmail? IMHO courier needs some vpopmail-libraries. | Because of the fact, that I installed the whole thing last time about 1 year | ago, I currently don't really remember the order of installations. But maybe | it's a point to have a look for... | Btw: IMHO the ebuilds for qmail, vpopmail and courier provided by Gentoo | aren't very good. After having some troubles while using them, I installed | these thing completely by hand. | irony | Maybe you want to ask Jeremy Kitchen from Inter7 for his opinion about the | mentioned ebuilds. | /irony | NB: Jeremy IS using Gentoo and very deep into qmail, vpopmail and these | things... | Yes. Jeremy got me using Gentoo as well. What you learn very quickly is that ebuilds aren't so great for certian things. You should avoid the qmail, vpopmail, etc ebuilds like the plague. As far as the courier option, you probably should edit the Makefile, and add -fPIC to the compiler options. Good luck! - -- /* ~Matt Brookings [EMAIL PROTECTED] GnuPG Key 7D7E5F37 ~Software developer Systems technician ~Inter7 Internet Technologies, Inc. (815)776-9465 */ banner(Support open-source!\n); void banner(char *arg) { ~ char b[50]; ~ strcpy(b, arg); ~ printf(b); } -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCbPB//pZz8n1+XzcRAgKbAJ9AsUKdQDZpJeq/HzXVUPtoTyl+BwCfR6Mi 2xlBrHVqCtvHUIZ8DEUcz1g= =qAkI -END PGP SIGNATURE- If you do this without the ebuilds how do you avoid other items being installed such at ssmtp it appears that this is installed by default. you have to unmerge it in order to emerge qmail. how do you keep it from adding itself back inthere and potentially causing problems with doing an emerge --update --deep --newuse world ? I appologize for the questions but I am new to gentoo and still trying to learn. Thanks for the help, Trever
Re: [vchkpw] vpopmail + gentoo + mysql
On Monday 25 April 2005 11:04 am, Trever Noggle wrote: Matt Brookings wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tobias Orlamuende wrote: | Am Montag, 25. April 2005 03:55 schrieb Trever Noggle: |I am not able to get courier-authlib to compile with vpopmail. i did |emerge courier-imap and emerge courier-authlib and it always dies at the |same place. does anyone have any idea what is causing this. | |below is the place where it is failing. | |Linking libauthvchkpw.la |Linking authdaemontest |/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/ |bin/ | |ld: /var/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S |against `a local symbol' can not be used when making a shared object; |recompile with -fPIC |/var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value |collect2: ld returned 1 exit status |make[2]: *** [libauthvchkpw.la] Error 1 |make[2]: *** Waiting for unfinished jobs |make[2]: Leaving directory |`/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' |make[1]: *** [all-recursive] Error 1 |make[1]: Leaving directory |`/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' |make: *** [all] Error 2 | |!!! ERROR: net-libs/courier-authlib-0.55 failed. |!!! Function src_compile, Line 100, Exitcode 2 |!!! Compile problem |!!! If you need support, post the topmost build error, NOT this status |message. | | There was somewhere a thread containing courier-authlib and AMD64 with - -fPIC | around in the last days. It was called compile vpopmail with -fPIC on | x86_64. I am not sure if these guys found a solution because on my AMD64 it | works without any problems (I am using an older version) and because of this | I didn't follow this thread... | There is one thing which makes me thinking that the mentioned thread _could_ | be the wrong one for you... This is based on one of the error-messages you | posted: /var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value | Did you already install vpopmail? IMHO courier needs some vpopmail-libraries. | Because of the fact, that I installed the whole thing last time about 1 year | ago, I currently don't really remember the order of installations. But maybe | it's a point to have a look for... | Btw: IMHO the ebuilds for qmail, vpopmail and courier provided by Gentoo | aren't very good. After having some troubles while using them, I installed | these thing completely by hand. | irony | Maybe you want to ask Jeremy Kitchen from Inter7 for his opinion about the | mentioned ebuilds. | /irony | NB: Jeremy IS using Gentoo and very deep into qmail, vpopmail and these | things... Yes. Jeremy got me using Gentoo as well. What you learn very quickly is that ebuilds aren't so great for certian things. You should avoid the qmail, vpopmail, etc ebuilds like the plague. As far as the courier option, you probably should edit the Makefile, and add -fPIC to the compiler options. Good luck! - -- /* ~Matt Brookings [EMAIL PROTECTED] GnuPG Key 7D7E5F37 ~Software developer Systems technician ~Inter7 Internet Technologies, Inc. (815)776-9465 */ banner(Support open-source!\n); void banner(char *arg) { ~ char b[50]; ~ strcpy(b, arg); ~ printf(b); } -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFCbPB//pZz8n1+XzcRAgKbAJ9AsUKdQDZpJeq/HzXVUPtoTyl+BwCfR6Mi 2xlBrHVqCtvHUIZ8DEUcz1g= =qAkI -END PGP SIGNATURE- If you do this without the ebuilds how do you avoid other items being installed such at ssmtp it appears that this is installed by default. you have to unmerge it in order to emerge qmail. how do you keep it from adding itself back inthere and potentially causing problems with doing an emerge --update --deep --newuse world ? gentoo has a mechanism for 'faking' the installation of a package. unmerge ssmtp and mark either qmail or ssmtp as installed in /etc/portage/profile/package.provided -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED] pgp4xHI5xZaxI.pgp Description: PGP signature
[vchkpw] vpopmail + gentoo + mysql
I am not able to get courier-authlib to compile with vpopmail. i did emerge courier-imap and emerge courier-authlib and it always dies at the same place. does anyone have any idea what is causing this. below is the place where it is failing. Linking libauthvchkpw.la Linking authdaemontest /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /var/vpopmail/lib/libvpopmail.a(vpopmail.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC /var/vpopmail/lib/libvpopmail.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libauthvchkpw.la] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55' make: *** [all] Error 2 !!! ERROR: net-libs/courier-authlib-0.55 failed. !!! Function src_compile, Line 100, Exitcode 2 !!! Compile problem !!! If you need support, post the topmost build error, NOT this status message.