Hi Simone,
/usr/local is only used by third party libs/apps that you install yourself. If you don't remember you why you need them you can all delete them. They are not put there by Xcode or OSX. Macports install everything in /opt/local and Fink in /sw.
Cheers, Fons.
On 29/03/2011 11:00, Simone Bifani wrote:
> Hi,
>
> after installing Xft2 @2.2.0 as well I can finally run root with no
> graphics :)
>
> Last question
> Are /usr/local/lib and /opt/local/lib dirs both part of the original Mac
> OSX installation (XCode perhaps)?
>
> The point is that now I have the new x86_64 libraries installed by MacPorts
> in /opt/local/lib, but some old i386 duplicates in /usr/local/lib
> However, I doubt I can fully delete /usr/local/lib as there are uncommon
> libs with /opt/local/lib
>
>
> Thanks,
> s.
>
>
> On 29/03/2011 08:07, Fons Rademakers wrote:
>> Yes, get rid of the old ones. Doing:
>>
>> file /usr/local/lib/libfreetype.6.3.12.dylib
>>
>> should also show you that this are old 32-bit binaries.
>>
>> Cheers, Fons.
>>
>>
>> On 28/03/2011 20:08, Simone Bifani wrote:
>>> 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.
>>>>>>
>>>>>>
>>>>>>
>>
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers_at_cern.ch Phone: +41 22 7679248 WWW: http://fons.rademakers.org Fax: +41 22 7669640Received on Tue Mar 29 2011 - 11:11:39 CEST
- application/pkcs7-signature attachment: S/MIME Cryptographic Signature
This archive was generated by hypermail 2.2.0 : Tue Mar 29 2011 - 23:50:01 CEST