#66429 closed defect (worksforme)

llvm-3.4: clang requires version 1.0.0 or later, but libLLVM-3.4.dylib provides version 0.0.0

Reported by: programmingkidx Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc: larryv (Lawrence Velázquez)
Port: llvm-3.4

Description (last modified by jmroot (Joshua Root))

While trying to install gettext-tools-libs I saw this error:

Error: Failed to configure gettext-tools-libs: configure failure: command execution failed

Here is an error from the log:

dyld: Library not loaded: /opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib
  Referenced from: /opt/local/libexec/llvm-3.4/bin/clang
  Reason: Incompatible library version: clang requires version 1.0.0 or later, but libLLVM-3.4.dylib provides version 0.0.0
./configure: line 5543: 17094 Trace/BPT trap          $CC --version 1>&5
configure:5552: $? = 133

Attachments (1)

config.log (44.4 KB) - added by programmingkidx 17 months ago.

Download all attachments as: .zip

Change History (9)

Changed 17 months ago by programmingkidx

Attachment: config.log added

comment:1 Changed 17 months ago by kencu (Ken)

oh oh, more weirdness -- here's mine:

$ otool -L /opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib 
/opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib:
	/opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib (compatibility version 1.0.0, current version 3.7.1)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/opt/local/lib/libffi.8.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/libexec/libcxx-bootstrap/lib/libncurses.6.dylib (compatibility version 6.0.0, current version 6.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)

comment:2 Changed 17 months ago by programmingkidx

So I tried to install clang 3.4 to see if this would fix the problem. When I did I ran into it failing because gettext-tools-libs would not install. This looks like a circular dependency issue.

comment:3 Changed 17 months ago by programmingkidx

Here is my otool -L /opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib:

/opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib:
	/opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
	/opt/local/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/opt/local/lib/libncurses.6.dylib (compatibility version 6.0.0, current version 6.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
Last edited 17 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: larryv added
Description: modified (diff)
Keywords: gettext removed
Owner: set to jeremyhu
Port: llvm-3.4 added; gettext-tools-libs removed
Status: newassigned
Summary: gettext-tools-libs fails to install on Mac OS 10.6llvm-3.4: clang requires version 1.0.0 or later, but libLLVM-3.4.dylib provides version 0.0.0

comment:5 Changed 17 months ago by jmroot (Joshua Root)

Cc: larryv removed
Description: modified (diff)
Keywords: gettext added
Port: gettext-tools-libs added; llvm-3.4 removed
Summary: llvm-3.4: clang requires version 1.0.0 or later, but libLLVM-3.4.dylib provides version 0.0.0gettext-tools-libs fails to install on Mac OS 10.6

The clang-3.4 port doesn't depend on gettext-tools-libs - unless of course you are missing /usr/bin/perl like you were missing /usr/bin/patch in #66414.

comment:6 Changed 17 months ago by jmroot (Joshua Root)

Cc: larryv added
Description: modified (diff)
Keywords: gettext removed
Port: llvm-3.4 added; gettext-tools-libs removed
Summary: gettext-tools-libs fails to install on Mac OS 10.6llvm-3.4: clang requires version 1.0.0 or later, but libLLVM-3.4.dylib provides version 0.0.0

Ugh, ticket was edited while I wrote my comment, sorry.

comment:7 Changed 17 months ago by programmingkidx

@jmroot I just checked and I do have /usr/bin/perl. Here is its output:

$ /usr/bin/perl -v

This is perl, v5.10.0 built for darwin-thread-multi-2level (with 2 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

I ran this small test program and it worked:

#!/usr/bin/perl

# Modules used
use strict;
use warnings;

# Print function 
print("Hello World\n");
Last edited 17 months ago by programmingkidx (previous) (diff)

comment:8 Changed 17 months ago by kencu (Ken)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.