Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Kylix/IDE    [ Add a report in this area ]  
Report #:  6339   Status: Reported
invalid use of symbol ERRNO in libwine.borland
Project:  Kylix Build #:  4186
Version:    3.0 Submitted By:   Johannes Berg
Report Type:  Basic functionality failure Date Reported:  11/1/2003 2:17:50 PM
Severity:    Infrequently encountered problem Last Updated: 11/2/2003 4:33:06 AM
Platform:    All platforms Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
4.00 out of 5
Total Votes: 1
Description
When starting Delphi/BCB on a Linux 2.6 system with TLS (thread local storage) and NPTL enabled in libc, the following error occurs:

johannes:~$ startdelphi
/usr/local/kylix3/bin/delphi: relocation error: /usr/local/kylix3/bin/libwine.borland.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
johannes:~$ startbcb
/usr/local/kylix3/bin/bcblin: relocation error: /usr/local/kylix3/bin/libwine.borland.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

More information is available here:
http://lists.debian.org/debian-glibc/2003/debian-glibc-200311/msg00017.html
Steps to Reproduce:
startdelphi or startbcb
Workarounds
LD_ASSUME_KERNEL=2.4.0 startdelphi
or
LD_ASSUME_KERNEL=2.4.0 startbcb

alternatively add
export LD_ASSUME_KERNEL=2.4.0
to the startdelphi script
Attachment
None
Comments

damian marquez at 3/19/2005 10:02:11 AM -
Verified in Suse Personal 9.1. Anybody knows of a workaround please mail me
if possible (dmarquez34 at hotmail dot com)

damian marquez at 3/19/2005 10:17:20 AM -
Found in google a workaround:
Modify registerkylix, startdelphi and startbcb and add the following line at the beginning of the script:

export LD_ASSUME_KERNEL=2.4.21

Hope it's of use for anyone.

Server Response from: ETNACODE01