Re: libfreetype x86_64

From: Simone Bifani <simone.bifani_at_cern.ch>
Date: Mon, 28 Mar 2011 19:08:32 +0100


  Hi,

done!

---> Fetching freetype
---> Attempting to fetch freetype-2.4.4.tar.bz2 from
http://download.savannah.gnu.org/releases/freetype/
---> Attempting to fetch freetype-doc-2.4.4.tar.bz2 from
http://download.savannah.gnu.org/releases/freetype/
---> Verifying checksum(s) for freetype
---> Extracting freetype
---> Applying patches to freetype
---> Configuring freetype
---> Building freetype
---> Staging freetype into destroot
---> Installing freetype @2.4.4_0
---> Activating freetype @2.4.4_0
---> Cleaning freetype

Now I have the old libraries

-rwxr-xr-x 1 root admin 3.8M Mar 6 2007
/usr/local/lib/libfreetype.6.3.12.dylib
lrwxr-xr-x 1 root wheel 24B Jun 16 2008 /usr/local/lib/libfreetype.6.dylib -> libfreetype.6.3.12.dylib
-rw-r--r-- 1 root admin 4.0M Mar 6 2007 /usr/local/lib/libfreetype.a
lrwxr-xr-x 1 root staff 24B Mar 26 11:25 /usr/local/lib/libfreetype.dylib -> libfreetype.6.3.12.dylib
-rwxr-xr-x 1 root admin 838B Mar 6 2007 /usr/local/lib/libfreetype.la

and the new ones

-rwxr-xr-x 2 root admin 594K Mar 28 18:45
/opt/local/lib/libfreetype.6.dylib
-rw-r--r-- 2 root admin 764K Mar 28 18:45 /opt/local/lib/libfreetype.a
lrwxr-xr-x 1 root admin 19B Mar 28 18:45 /opt/local/lib/libfreetype.dylib -> libfreetype.6.dylib
-rwxr-xr-x 2 root admin 959B Mar 28 18:45 /opt/local/lib/libfreetype.la

Do you suggest me to get rid of the former?

Regards,
s.

On 28/03/2011 18:37, Simone Bifani wrote:

> Hi Chris,
>
> On 28/03/2011 17:07, Chris Jones wrote:
>> Hi,
>>
>> It sounds to me like your MacPorts installation is somewhat broken (Not having a working port command confirms this) and your libraries seem to be quite out of date. I suggest you wipe clean and try again.
>>
>> <http://guide.macports.org/chunked/installing.macports.uninstalling.html>
>
> thanks for the suggestion
>
> I cleaned and reinstalled macports 1.9.2
> Which port should I use now to get libfreetype x86_64? gnuplot?
>
> Thanks,
> s.
>
>> Just FYI, MacPorts has a Portfile for ROOT itself. I actually have a submission for the latest release. It works for me but someone else has problems, so hasn't made it in yet. Maybe you could give it a go.
>>
>> <https://trac.macports.org/ticket/27962>
>>
>> Chris
>>
>> On 26 Mar 2011, at 3:11pm, Simone Bifani wrote:
>>
>>> Hello,
>>>
>>> I needed to recompile ROOT 5.28.00b with some patches from the trunk (configured as 'configure macosx64 --enable-roofit') on a machine running SnowLeopard 10.6.7 but upgraded long ago from Leopard
>>>
>>> As a result when running ROOT with no graphics (-b option) I get the following error
>>>
>>> dyld: lazy symbol binding failed: Symbol not found: _FT_Init_FreeType
>>>    Referenced from: /Applications/Work/ROOT/lib/libGraf.so
>>>    Expected in: flat namespace
>>> dyld: Symbol not found: _FT_Init_FreeType
>>>    Referenced from: /Applications/Work/ROOT/lib/libGraf.so
>>>    Expected in: flat namespace
>>>
>>> Looking back at the compilation log I noticed the following warning
>>>
>>> ld: warning: in /usr/local/lib/libfreetype.dylib, missing required architecture x86_64 in file
>>>
>>> and indeed
>>>
>>> file libfreetype.dylib
>>> libfreetype.dylib: symbolic link to libfreetype.6.3.12.dylib
>>> file libfreetype.6.3.12.dylib
>>> libfreetype.6.3.12.dylib: Mach-O universal binary with 2 architectures
>>> libfreetype.6.3.12.dylib (for architecture i386):       Mach-O dynamically linked shared library i386
>>> libfreetype.6.3.12.dylib (for architecture ppc):        Mach-O dynamically linked shared library ppc
>>>
>>>
>>> An old post on the ROOT forum (http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=12140) suggests to reinstall MacPort which I did (1.9.2) but I was not able to fix the problem (somehow I do not have the 'port' command and I can't install the new libfreetype libraries)
>>>
>>> A second suggestion was to remove all libfreetype files
>>> Is this safe (ie for other applications)?
>>>
>>> Has any of you experienced a similar issue and solved the problem?
>>>
>>>
>>> Thanks,
>>> s.
>>>
>>>
>>>


Received on Mon Mar 28 2011 - 20:08:39 CEST

This archive was generated by hypermail 2.2.0 : Tue Mar 29 2011 - 11:50:01 CEST