[Fusioninventory-devel] fisrt attempt of macosx package

Gonéri Le Bouder goneri at rulezlan.org
Sun Apr 25 14:45:24 UTC 2010


2010/4/25 Gonéri Le Bouder <goneri at rulezlan.org>

> 2010/4/25 Gonéri Le Bouder <goneri at rulezlan.org>
>
>> 2010/4/21, Fabrice Flore-Thébault <themroc at centsix.org>:
>> > I tried to build a macosx package this evening. Not sure it is fully
>> > functionnal. Built on ppc, not sure it runs on x86 platform.
>> >
>> > http://centsix.org/public/fusioninventory/FusionInventory-Agent.pkg.zip
>> The agent fails to start here with MacOSX 10.3.9 PPC :(
>>
>> blabla:/Applications/FusionInventory-Agent.app/Contents/Resources
>> root# ./run.sh
>> dyld: ./bin/perl can't open library: /usr/lib/libutil.dylib  (No such
>> file or directory, errno = 2)
>> ./run.sh: line 3:   476 Trace/BPT trap          ./bin/perl
>> ./bin/fusioninventory-agent --daemon
>>
> Acording to
> http://www.finkproject.org/doc/porting/porting.en.html libutil is embedded
> in libSystem. I fixed the problem this way:
>
> cd /usr/lib
> ln -s libSystem.dylib libutil.dylib
>
> Now It've this error:
>
>
> blabla:/Applications/FusionInventory-Agent.app/Contents/Resources root#
> ./run.sh
> loading libraries for image: perl
> loading library:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/libperl.dylib
> loading library: /usr/lib/libSystem.B.dylib
> loading libraries for image:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/libperl.dylib
> loading libraries for image: /usr/lib/libSystem.B.dylib
> loading library: /usr/lib/system/libmathCommon.A.dylib
> loading libraries for image: /usr/lib/system/libmathCommon.A.dylib
> loading libraries for image:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/threads/threads.bundle
> loading libraries for image:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/threads/shared/shared.bundle
> Failed to load FusionInventory::Agent, Can't locate
> FusionInventory/Agent.pm in @INC (@INC contains:
> /System/Library/Perl/5.8.1/darwin-thread-multi-2level
> /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level
> /Library/Perl/5.8.1 /Library/Perl
> /Network/Library/Perl/5.8.1/darwin-thread-multi-2level
> /Network/Library/Perl/5.8.1 /Network/Library/Perl .) at (eval 1) line 1.
> BEGIN failed--compilation aborted at (eval 1) line 1.
>
I don't understand why the system perl is started. It's getting worst If I
try to load the embedded Perl I get this error:

blabla:/Applications/FusionInventory-Agent.app/Contents/Resources root#
./bin/perl
dyld: ./bin/perl Undefined symbols:
./bin/perl undefined reference to ___stack_chk_guard expected to be defined
in /usr/lib/libSystem.B.dylib
./bin/perl undefined reference to ___stderrp expected to be defined in
/usr/lib/libSystem.B.dylib
./bin/perl undefined reference to ___stdinp expected to be defined in
/usr/lib/libSystem.B.dylib
./bin/perl undefined reference to ___stdoutp expected to be defined in
/usr/lib/libSystem.B.dylib
Trace/BPT trap

I love MacOSX...

-- 
    Gonéri Le Bouder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-devel/attachments/20100425/eb07f3bd/attachment.htm>


More information about the Fusioninventory-devel mailing list