Opened 10 years ago

Closed 10 years ago

#42003 closed defect (duplicate)

mysql5: configure failure "ld: library not found for -lcrt1.10.6.o"

Reported by: jacques.bergeron@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: mysql5

Description (last modified by larryv (Lawrence Velázquez))

Trying to install Kdenlive. I get stuck here:

iMac:~ myimac$ sudo port install kdenlive
--->  Computing dependencies for kdenlive
--->  Dependencies to be installed: kde4-runtime kdepimlibs4 akonadi mysql5-server mysql5 qt4-mac-mysql5-plugin gpgme gnupg libusb-compat libusb libassuan libgpg-error pth libical nepomuk-core prison libdmtx qrencode libssh openslp oxygen-icons qimageblitz mlt doxygen frei0r-plugins git-core p5.12-error p5.12-net-smtp-ssl p5.12-io-socket-ssl p5.12-net-libidn p5.12-net-ssleay rsync libdv libsamplerate libsndfile flac sox file libmagic libid3tag libmad opencore-amr twolame wavpack
--->  Configuring mysql5
Error: Failed to configure mysql5, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72/config.log
Error: org.macports.configure for port mysql5 returned: configure failure: command execution failed
Error: Failed to install mysql5
Please see the log file for port mysql5 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/main.log
Error: The following dependencies were not installed: kde4-runtime kdepimlibs4 akonadi mysql5-server mysql5 qt4-mac-mysql5-plugin gpgme gnupg libusb-compat libusb libassuan libgpg-error pth libical nepomuk-core prison libdmtx qrencode libssh openslp oxygen-icons qimageblitz mlt doxygen frei0r-plugins git-core p5.12-error p5.12-net-smtp-ssl p5.12-io-socket-ssl p5.12-net-libidn p5.12-net-ssleay rsync libdv libsamplerate libsndfile flac sox file libmagic libid3tag libmad opencore-amr twolame wavpack
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kdenlive failed

Anyone know how to finish this installation. I looked for this problem over google, I've found nothing that can help me.

Attachments (2)

config.log (15.0 KB) - added by jacques.bergeron@… 10 years ago.
main.log (6.5 KB) - added by jacques.bergeron@… 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by jacques.bergeron@…

Attachment: config.log added

Changed 10 years ago by jacques.bergeron@…

Attachment: main.log added

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: pixilla@… added
Description: modified (diff)
Keywords: fail configure mysql5 kdenlive removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: mysql5 added
Summary: Failed to configure mysql5mysql5: configure failure "ld: library not found for -lcrt1.10.6.o"
Type: requestdefect

config.log:

configure:3686: checking for C compiler default output file name
configure:3708: /opt/local/bin/llvm-gcc-4.2 -pipe -Os -fPIC -arch x86_64 -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status
configure:3712: $? = 1
configure:3750: result: 
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "MySQL Server"
| #define PACKAGE_TARNAME "mysql"
| #define PACKAGE_VERSION "5.1.72"
| #define PACKAGE_STRING "MySQL Server 5.1.72"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "5.1.72"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3756: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5/mysql5/work/mysql-5.1.72':
configure:3759: error: C compiler cannot create executables

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #41978. Install the Xcode command line tools.

Note: See TracTickets for help on using tickets.