Recent

Author Topic: Problem with ZeosLib installation  (Read 5541 times)

and

  • Newbie
  • Posts: 1
Problem with ZeosLib installation
« on: July 15, 2008, 11:14:53 am »
Hi,

I have installed fpc-2.2.2rc1, fpcsrc-2.2.2rc1 and lazarus-0.9.25 beta on MAC OS X 10.5.3. Now I'm trying to install ZeosLib (6.6.2). When I attempt to build IDE using Carbon Interface I get messages like this:

Undefined symbols:
  "___fxstat", referenced from:
      _LIBC_FSTAT$LONGINT$PSTAT$$LONGINT in libc.o
      _LIBC_FSTAT$LONGINT$_STAT$$LONGINT in libc.o
  "___errno_location", referenced from:
      _LIBC_ERRNO$$LONGINT in libc.o
      _LIBC_SETERRNO$LONGINT in libc.o
  "___lxstat", referenced from:
      _LIBC_LSTAT$PCHAR$PSTAT$$LONGINT in libc.o
      _LIBC_LSTAT$PCHAR$_STAT$$LONGINT in libc.o
(...)
"___xstat64", referenced from:
      _LIBC_STAT64$PCHAR$PSTAT64$$LONGINT in libc.o
      _LIBC_STAT64$PCHAR$_STAT64$$LONGINT in libc.o
ld: symbol(s) not found
An error occurred while linking
Error: Error while linking

After restart Lazarus show Zeos components in the "Installed Packages", but it does not show in the "Component Pallette".

Please help,
Andrew

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 1059
Re: Problem with ZeosLib installation
« Reply #1 on: July 17, 2008, 11:10:49 am »
I don't know how you forced FPC to compile the libc unit on Mac OS X, but
a) it is not installed on any platform other than Linux/i386
b) it can only work on Linux/i386 (because it is completely glibc-on-linux-i386 specific, and included only for Kylix compatibility).


Jonas

 

TinyPortal © 2005-2018