Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

mod_php and mit-krb5 problems

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
SkyPanther
n00b
n00b
User avatar
Posts: 35
Joined: Sat May 10, 2003 10:25 pm

mod_php and mit-krb5 problems

  • Quote

Post by SkyPanther » Tue Apr 06, 2004 7:44 pm

I cannot seem to compile mod_php or php with mit-krb5 anymore.. this is on a new installl, and im using mit-krb5 1.3.1
/usr/lib/libcom_err.a(error.o)(.text+0x0): In function `com_right':
: multiple definition of `com_right'
/usr/lib/libkrb5.a(error.o)(.text+0x0): first defined here
/usr/lib/libcom_err.a(error.o)(.text+0x40): In function `initialize_error_table_
r':
: multiple definition of `initialize_error_table_r'
/usr/lib/libkrb5.a(error.o)(.text+0x40): first defined here
/usr/lib/libcom_err.a(error.o)(.text+0x98): In function `free_error_table':
: multiple definition of `free_error_table'
/usr/lib/libkrb5.a(error.o)(.text+0x98): first defined here
/usr/lib/libcom_err.a(com_err.o)(.bss+0x0): multiple definition of `_et_list'
/usr/lib/libkrb5.a(com_err.o)(.bss+0x0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x0): In function `com_err':
: multiple definition of `com_err'
/usr/lib/libkrb5.a(com_err.o)(.text+0x0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x2c): In function `error_message':
: multiple definition of `error_message'
/usr/lib/libkrb5.a(com_err.o)(.text+0x2c): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0xd0): In function `init_error_table':
: multiple definition of `init_error_table'
/usr/lib/libkrb5.a(com_err.o)(.text+0xd0): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x100): In function `com_err_va':
: multiple definition of `com_err_va'
/usr/lib/libkrb5.a(com_err.o)(.text+0x100): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x12c): In function `set_com_err_hook':
: multiple definition of `set_com_err_hook'
/usr/lib/libkrb5.a(com_err.o)(.text+0x12c): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x148): In function `reset_com_err_hook':
: multiple definition of `reset_com_err_hook'
/usr/lib/libkrb5.a(com_err.o)(.text+0x148): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x158): In function `error_table_name':
: multiple definition of `error_table_name'
/usr/lib/libkrb5.a(com_err.o)(.text+0x158): first defined here
/usr/lib/libcom_err.a(com_err.o)(.text+0x1bc): In function `add_to_error_table':
: multiple definition of `add_to_error_table'
/usr/lib/libkrb5.a(com_err.o)(.text+0x1bc): first defined here
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

!!! ERROR: dev-php/mod_php-4.3.6_rc2 failed.
!!! Function php-sapi_src_compile, Line 474, Exitcode 2
!!! compile problem
Top
SkyPanther
n00b
n00b
User avatar
Posts: 35
Joined: Sat May 10, 2003 10:25 pm

  • Quote

Post by SkyPanther » Tue Apr 06, 2004 11:30 pm

Did some research on this..

libcom_err.a comes from sys-fs/e2fsprogs

it seems that libkrb5 and libcom_err.a are using the same files called error.o and com_err.o and mod_php is somehow breaking because of that.

doing USE="-kerberos" emerge mod_php

fix's this error.
Top
msb21
n00b
n00b
Posts: 47
Joined: Sat Aug 24, 2002 2:19 am

I tried your fix and it didn't work

  • Quote

Post by msb21 » Sat Apr 17, 2004 3:30 pm

ams.lo main/user_streams.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo ext/pcntl/pcntl.lo ext/pcntl/php_signal.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lnsl -lsablot -lexpat -lexpat -lpspell -lpdf -lz -ltiff -lpng -ljpeg -lmysqlclient -lmhash -lmcrypt -lltdl -lgd -lpng -lz -ljpeg -lexslt -lxml2 -lxslt -lz -ldb-4.0 -lndbm -lgdbm -lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lxmlparse -lxmltok -lxml2 -lz -lm -o sapi/cli/php
ext/gd/gd.lo(.text+0x3d3): In function `zm_deactivate_gd':
: undefined reference to `gdFontCacheShutdown'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.6_rc2 failed.
!!! Function php-sapi_src_compile, Line 474, Exitcode 2
!!! compile problem

Any ideas?
Top
SkyPanther
n00b
n00b
User avatar
Posts: 35
Joined: Sat May 10, 2003 10:25 pm

  • Quote

Post by SkyPanther » Sun Apr 18, 2004 2:32 am

This seems to be a problem with libgd, see if you have libgd installed, and if it helps if you recompile it?
Top
msb21
n00b
n00b
Posts: 47
Joined: Sat Aug 24, 2002 2:19 am

  • Quote

Post by msb21 » Sun Apr 18, 2004 3:53 am

thanks, I did try that without success... what is the sapi/cli/php?
Top
SkyPanther
n00b
n00b
User avatar
Posts: 35
Joined: Sat May 10, 2003 10:25 pm

  • Quote

Post by SkyPanther » Sun Apr 18, 2004 4:02 am

msb21 wrote:thanks, I did try that without success... what is the sapi/cli/php?
CLI= Command Line Interface version of PHP, IE, if you do php somephpscript.php in xterm,etc.. it will run that php script in the commandline window.

SAPI= Server module.

you know, you can also try USE="-gd" emerge mod_php see if that helps?
Top
kaja
n00b
n00b
User avatar
Posts: 7
Joined: Tue Mar 16, 2004 6:10 pm
Location: germany

  • Quote

Post by kaja » Tue Apr 27, 2004 9:26 am

I have the same problem as msb2e.

updateing the libgd dos'nt work for me as well. any other guesses?

ps: maybe it has something to do with the gcc? the problem startet after an update of gcc
Just remember: The glass is neither half full nor half empty,
it is merely the wrong size.
Top
zioponics
n00b
n00b
User avatar
Posts: 65
Joined: Thu Nov 20, 2003 2:09 pm
Location: ClockLand
Contact:
Contact zioponics
Website

  • Quote

Post by zioponics » Sun May 02, 2004 8:55 am

ext/gd/gd.lo(.text+0x3d3): In function `zm_deactivate_gd':
: undefined reference to `gdFontCacheShutdown'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.6_rc2 failed.
!!! Function php-sapi_src_compile, Line 474, Exitcode 2
!!! compile problem
To solve this problem, I had to recompile libgd with the flags "gif jpeg png truetype" enabled. (maybe just truetype, but since gd generates graphics....)

HIH, peace
Linux n8Ob that actually 8O RTFM
Top
KShots
l33t
l33t
User avatar
Posts: 615
Joined: Thu Oct 09, 2003 1:29 pm
Location: Florida
Contact:
Contact KShots
Website

  • Quote

Post by KShots » Sun Jun 13, 2004 2:18 am

SkyPanther wrote:Did some research on this..

libcom_err.a comes from sys-fs/e2fsprogs

it seems that libkrb5 and libcom_err.a are using the same files called error.o and com_err.o and mod_php is somehow breaking because of that.

doing USE="-kerberos" emerge mod_php

fix's this error.
Not that I don't believe you, but what does kerberos have to do with e2fs? I'm having similar problems and can't emerge anything with kerberos support, but remove kerberos flag and it works... but I want kerberos... what to do?
Life without passion is death in disguise
Top
Post Reply

9 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic