Cant upload on OSX Server

JensMK

Joined: 2002-09-09
Posts: 3
Posted: Mon, 2002-09-09 06:21

Hi,

I installed gallery, everything is fine - exept the fact that I cant find the error in uploading pictures.
Gallery is installed in http://www.muppse.de/mail/gallery

Debug Mode tells me:

Quote:
Processing status...
- Adding logojuni01HW.jpg

Executing:

/Local/Library/WebServer/WebSites/www.muppse.de/mail/netpbm/jpegtopnm /Local/Library/WebServer/WebSites/www.muppse.de/albums/test/logojuni01HW.jpg | /Local/Library/WebServer/WebSites/www.muppse.de/mail/netpbm/pnmfile --allimages
Results:

none
Error messages:

dyld: /Local/Library/WebServer/WebSites/www.muppse.de/mail/netpbm/jpegtopnm can't open library: /usr/lib/libSystem.B.dylib (No such file or directory, errno = 2)
dyld: /Local/Library/WebServer/WebSites/www.muppse.de/mail/netpbm/pnmfile can't open library: /usr/lib/libSystem.B.dylib (No such file or directory, errno = 2)

Status: 60 (expected 0)
Error: Invalid image: logojuni01HW.jpg!
Need help? Look in the Gallery FAQ

When I run the Netpbm-Checker, it tells me on every binary:

...
Error Status 60 (Expecting status 0)

The other problem is, that I cant find /usr/lib/libSystem.B.dylib (like gallery :smile: )

I am new to php and gallery, so please excuse if this question is stupid. I cant see the Apache_errorlog to look for further information.

Thank you very much in advance,

Jens

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-10 03:44

I don't have any MacOSX experience, but it looks like your NetPBM binaries are dynamically linked and are expecting a shared library which doesn't exist on your machine.

Where did you get your NetPBM binaries from?

-Bharat

 
JensMK

Joined: 2002-09-09
Posts: 3
Posted: Tue, 2002-09-10 14:04

Thank you for your help!

Quote:
Where did you get your NetPBM binaries from?

From right here. I downloaded the pre-compiled version for Mac OS X.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-11 02:25

Hm. That's not good; I thought the MacOS X binaries we provided were statically linked. Unfortunately I don't have access to a MacOS X machine to do compiles on. Perhaps somebody can create a statically compiled distribution of NetPBM for that platform?

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Wed, 2002-09-11 08:01

Or, alternatively, you can probably compile them yourself under OSX.
It includes development tools after all.

 
JensMK

Joined: 2002-09-09
Posts: 3
Posted: Wed, 2002-09-11 14:20
Quote:
Or, alternatively, you can probably compile them yourself under OSX.
It includes development tools after all.

I will look for an howto or somewhat else instructions to do this and will try to compile them.
If this should work, who gets the precompiled code?

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Thu, 2002-09-12 11:01

Well, be sure you compile them statically. And the person to send them to
would be Bharat I believe, or provide him a link to them anyhow. It would
be good to test them first :wink: