View Issue Details

IDProjectCategoryView StatusLast Update
0017412Lazarus CCR-public2014-11-17 04:51
ReporterKrzysztof DibowskiAssigned ToDmitry Boyarintsev 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Summary0017412: TRichMemo - error R_X86_64_32S when building shared library
DescriptionHi,

I can open LCL form in dll library on Windows, but I have a problem with .so library on Linux. When I put TRichMemo component on empty form and try to compile project I get this error:

/usr/bin/ld: /home/dibo/Programowanie/Lazarus/components/richmemo/lib/x86_64-linux/richmemo.o: relocation R_X86_64_32S against `TC_RICHMEMO_RTFLOADSTREAM' can not be used when making a shared object; recompile with -fPIC

/home/dibo/Programowanie/Lazarus/components/richmemo/lib/x86_64-linux/richmemo.o: could not read symbols: Bad value

Compiling with -fPIC switch doesn't help. Project with empty form is compiling without errors. There is no problem with other LCL components

Regards
Additional InformationUbuntu 10.4 64bit. Lazarus 0.9.29 from SVN revision 27282. FPC 2.5.1 from SVN revision 100908
TagsNo tags attached.
WidgetsetGTK 2
Attached Files

Activities

2010-09-14 20:40

 

TestSO.zip (2,251 bytes)

Dmitry Boyarintsev

2014-11-17 04:51

developer   ~0079182

you need to set -fPIC in the RichMemo package compilation option.

Issue History

Date Modified Username Field Change
2010-09-14 20:40 Krzysztof Dibowski New Issue
2010-09-14 20:40 Krzysztof Dibowski File Added: TestSO.zip
2010-09-14 20:40 Krzysztof Dibowski Widgetset => GTK 2
2010-09-14 21:12 Dmitry Boyarintsev Status new => assigned
2010-09-14 21:12 Dmitry Boyarintsev Assigned To => Dmitry Boyarintsev
2014-11-17 04:51 Dmitry Boyarintsev Note Added: 0079182
2014-11-17 04:51 Dmitry Boyarintsev Status assigned => resolved
2014-11-17 04:51 Dmitry Boyarintsev Resolution open => no change required