Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-03

Building Lazarus SVN on Mac OS X 10.4 intel

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roland Turcan

Hello lazarus project!

How should I call compiler to get Lazarus IDE running on MacOS X 10.4.

I can build lazarus fine, but after start it shows:

dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0

Thanks for any hint.

Reply by email

Mattias Gaertner
to Roland Turcan
Show quoted text 11 lines
Hello lazarus project! How should I call compiler to get Lazarus IDE running on MacOS X 10.4. I can build lazarus fine, but after start it shows: dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0

See here:
http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Compiling_under_10.5_for_10.4_and_below

Mattias

Reply by email

Roland Turcan
to Mattias Gaertner

Hello Mattias,

Thanks for your reply.

I know this document which describes how to build an application on 10.5 for 10.4, but my initial question was:

How to get Lazarus working on 10.4, because when I build it up on 10.4 then startup shows the same:

Show quoted text 5 lines
dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus Reason: Incompatible library version: lazarus requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0

Building up my application on 10.4 from command line using by that description works and the application starts fine, but I have there some bugs and therefore I want to open the project in Lazarus to debug it.

I have tried to call:

sudo ./lazbuild -B --build-ide="-va -k-macosx_version_min -k10.4 -XR/Developer/SDKs/MacOSX10.4u.sdk/"

but the result is:

NOTE: miscellaneous options file not found - using defaults [TExternalToolList.Run] CmdLine="/usr/bin/make cleanlaz"

Thanks for any hint.

TRoland;

<<< 2.4.2009 12:50 - Mattias Gaertner "" >>>
MG> On Tue, 31 Mar 2009 22:03:12 +0200

MG> Roland Turcan wrote 11 lines
> Hello lazarus project! > > How should I call compiler to get Lazarus IDE running on MacOS X 10.4. > > I can build lazarus fine, but after start it shows: > > dyld: Library not loaded: /usr/lib/libiconv.2.dylib > Referenced > from: /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus > Reason: Incompatible library version: lazarus requires version 7.0.0 > or later, but libiconv.2.dylib provides version 5.0.0

MG> See here:
MG> http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Compiling_under_10.5_for_10.4_and_below

MG> Mattias
MG> _______________________________________________ MG> Lazarus mailing list
MG>
MG> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Roland Turcan
to Roland Turcan

Hello all,

I cannot believe, that nobody knows how to build up Lazarus at MacOS X 10.4.

TRoland;

<<< 2.4.2009 15:36 - Roland Turcan "" >>>
RT> Hello Mattias,

RT> Thanks for your reply.

RT> I know this document which describes how to build an application on RT> 10.5 for 10.4, but my initial question was:

RT> How to get Lazarus working on 10.4, because when I build it up on 10.4 RT> then startup shows the same:

Show quoted text 5 lines
> dyld: Library not loaded: /usr/lib/libiconv.2.dylib > Referenced from: > /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus > Reason: Incompatible library version: lazarus requires version > 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0

RT> Building up my application on 10.4 from command line using by that RT> description works and the application starts fine, but I have there RT> some bugs and therefore I want to open the project in Lazarus to RT> debug it.

RT> I have tried to call:

RT> sudo ./lazbuild -B --build-ide="-va -k-macosx_version_min -k10.4 RT> -XR/Developer/SDKs/MacOSX10.4u.sdk/"

RT> but the result is:

RT> NOTE: miscellaneous options file not found - using defaults RT> [TExternalToolList.Run] CmdLine="/usr/bin/make cleanlaz"

RT> Thanks for any hint.

RT> TRoland;

RT> <<< 2.4.2009 12:50 - Mattias Gaertner "" >>>
MG>> On Tue, 31 Mar 2009 22:03:12 +0200

MG>> Roland Turcan wrote 11 lines
>> Hello lazarus project! >> >> How should I call compiler to get Lazarus IDE running on MacOS X 10.4. >> >> I can build lazarus fine, but after start it shows: >> >> dyld: Library not loaded: /usr/lib/libiconv.2.dylib >> Referenced >> from: /usr/local/share/lazarus/lazarus.app/Contents/MacOS/lazarus >> Reason: Incompatible library version: lazarus requires version 7.0.0 >> or later, but libiconv.2.dylib provides version 5.0.0

MG>> See here:
MG>> http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Compiling_under_10.5_for_10.4_and_below

MG>> Mattias
MG>> _______________________________________________ MG>> Lazarus mailing list
MG>>
MG>> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to Roland Turcan
Roland Turcan wrote
Hello all, I cannot believe, that nobody knows how to build up Lazarus at MacOS X 10.4.

I cannot believe that either. Maybe you are the only one having these problems.

For what it is worth the Lazarus snapshots are build on Mac OS X 10.4 computers.

make bigide in the lazarus directory does the main work, for exact details, see the scripts in tools/install/macosx

Alternatively you may try to use fink (http://www.finkproject.org/), which is supposed to handle these kind of dependencies. To quote a Mac user on IRC:

"fink install lazarus-aqua" should do the complete trick including fpc and fpc-sources

Vincent

Reply by email