Thanks a lot for the tips.

Ali

On Tue, Apr 29, 2008 at 4:22 PM, Mathias Bage <mathias@stacken.kth.se> wrote:


On Tue, 29 Apr 2008, alisazegar wrote:

>
> Hello All,
>
> I was able to make the build root then used the arm-linux-gcc to compile
> postgresql.
> Then I did "make install" to a folder so I can transfer it to my gumstix.
>
> Now when I try to run any of the executable files I get the following error:
>
> root@gumstix-custom-verdex:/usr$ initdb --help
> -sh: initdb: not found
> root@gumstix-custom-verdex:/usr$ cd bin/
> root@gumstix-custom-verdex:/usr/bin$ ./initdb
> -sh: ./initdb: not found
> root@gumstix-custom-verdex:/usr/bin$ postgres
> -sh: postgres: not found

If your gumstix motherboard uses libc and you try to execute a uclibc
binary, you will get this error.  Make sure you compile postgresql for the
dynamic link library (libc or uclibc) that your system use.

Hmm... seems buildroot can only build for uclibc (IIRC), and modern
gumstix motherboards come with a pre-installed libc system.

Either build a new root filesystem (that will use uclibc) under buildroot
for your uclibc postgresql, or start using OpenEmbedded  (OE) instead.

Buildroot is not supported by gumstix anymore.

>
> I'm not sure what I'm doing wrong which I ended up with this error.
> Thanks,
>
> Ali


/Mathias

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Best Wishes,

M.Ali Sazegarnejad