<div class="gmail_quote">2010/4/25 Gonéri Le Bouder <span dir="ltr">&lt;<a href="mailto:goneri@rulezlan.org">goneri@rulezlan.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2010/4/25 Gonéri Le Bouder <span dir="ltr">&lt;<a href="mailto:goneri@rulezlan.org" target="_blank">goneri@rulezlan.org</a>&gt;</span><br><div class="gmail_quote"><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

2010/4/21, Fabrice Flore-Thébault &lt;<a href="mailto:themroc@centsix.org" target="_blank">themroc@centsix.org</a>&gt;:<br>
<div>&gt; I tried to build a macosx package this evening. Not sure it is fully<br>
&gt; functionnal. Built on ppc, not sure it runs on x86 platform.<br>
&gt;<br>
&gt; <a href="http://centsix.org/public/fusioninventory/FusionInventory-Agent.pkg.zip" target="_blank">http://centsix.org/public/fusioninventory/FusionInventory-Agent.pkg.zip</a><br>
</div>The agent fails to start here with MacOSX 10.3.9 PPC :(<br>
<br>
blabla:/Applications/FusionInventory-Agent.app/Contents/Resources<br>
root# ./run.sh<br>
dyld: ./bin/perl can&#39;t open library: /usr/lib/libutil.dylib  (No such<br>
file or directory, errno = 2)<br>
./run.sh: line 3:   476 Trace/BPT trap          ./bin/perl<br>
./bin/fusioninventory-agent --daemon<br></blockquote></div></div><div>Acording to  <br></div><div><a href="http://www.finkproject.org/doc/porting/porting.en.html" target="_blank">http://www.finkproject.org/doc/porting/porting.en.html</a> libutil is embedded in libSystem. I fixed the problem this way:<br>

<br>cd /usr/lib<br>ln -s libSystem.dylib libutil.dylib<br><br>Now It&#39;ve this error:<div class="im"><br><br>blabla:/Applications/FusionInventory-Agent.app/Contents/Resources root# ./run.sh <br></div>loading libraries for image: perl<br>
loading library: /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/libperl.dylib<br>
loading library: /usr/lib/libSystem.B.dylib<br>loading libraries for image: /System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/libperl.dylib<br>loading libraries for image: /usr/lib/libSystem.B.dylib<br>loading library: /usr/lib/system/libmathCommon.A.dylib<br>

loading libraries for image: /usr/lib/system/libmathCommon.A.dylib<br>loading libraries for image: /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/threads/threads.bundle<br>loading libraries for image: /System/Library/Perl/5.8.1/darwin-thread-multi-2level/auto/threads/shared/shared.bundle<br>

Failed to load FusionInventory::Agent, Can&#39;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.<br>

BEGIN failed--compilation aborted at (eval 1) line 1.<br></div></div></blockquote><div>I don&#39;t understand why the system perl is started. It&#39;s getting worst If I try to load the embedded Perl I get this error:<br>
<br>blabla:/Applications/FusionInventory-Agent.app/Contents/Resources root# ./bin/perl<br>dyld: ./bin/perl Undefined symbols:<br>./bin/perl undefined reference to ___stack_chk_guard expected to be defined in /usr/lib/libSystem.B.dylib<br>
./bin/perl undefined reference to ___stderrp expected to be defined in /usr/lib/libSystem.B.dylib<br>./bin/perl undefined reference to ___stdinp expected to be defined in /usr/lib/libSystem.B.dylib<br>./bin/perl undefined reference to ___stdoutp expected to be defined in /usr/lib/libSystem.B.dylib<br>
Trace/BPT trap<br></div></div><br>I love MacOSX...<br><br>-- <br>     Gonéri Le Bouder<br>