[Libreoffice-bugs] [Bug 51948] New: linking -ldl on BSD in pyuno

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 10 23:18:29 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51948

             Bug #: 51948
           Summary: linking -ldl on BSD in pyuno
    Classification: Unclassified
           Product: LibreOffice
           Version: 3.6.0.0.beta3
          Platform: All
        OS/Version: FreeBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: waitman at faqers.org


build fails in tail_build

[ build LNK ] Library/pyuno.so
/usr/local/bin/ld: cannot find -ldl
collect2: error: ld returned 1 exit status
gmake[2]: ***
[/usr/home/waitman/libreoffice/libo/workdir/unxfbsd.pro/LinkTarget/Library/pyuno.so]
Error 1


--> quick fix is to update Library_pyuno_wrapper.mk 

remove:

ifneq ($(GUI)$(COM),WNTMSC)
ifneq ($(OS),MACOSX)
$(eval $(call gb_Library_add_libs,pyuno_wrapper,\
-ldl \
))
endif
endif

However, probably condition should be added if OS = BSD/Unix to skip -ldl

Thank you.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list