[Bug 239936] Review Request: oyranos - The Oyranos Colour Management System (CMS)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: oyranos - The Oyranos Colour Management System (CMS)


https://bugzilla.redhat.com/show_bug.cgi?id=239936





------- Additional Comments From mtasaka@xxxxxxxxxxxxxxxxxxx  2008-03-07 02:19 EST -------
(In reply to comment #29)
> But for now it works and the only occurence of libdir is for linking time.
> As both icc_examin and cinepaint use others package while linking to oyranos,
> this lead to something like:
> -----------------------
> /bin/sh ../../libtool --mode=link --tag=CXX g++
> -DLOCALEDIR=\""/usr/share/locale"\"  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  
> -o pdf  pdf.o pdf_dialog.o ../../lib/libcinepaint.la -lgtk-x11-2.0
-lgdk-x11-2.0> -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo
-lgobject-2.0
> -lgmodule-2.0 -ldl -lglib-2.0    ../../lib/fl_i18n/libcinepaint_fl_i18n.la
> -L/usr/lib64 -lfltk_images -lpng -lz -ljpeg -lfltk -DHAVE_OY -L -loyranos
> -loyranos_moni  -ldl -lc
> -----------------------
> So the empty -L isn't failing as it take the -L/usr/lib64 from others packages.

(Note: -L/usr/lib64 is always unneeded because /usr/lib64 is in
        default search path of libraries)

This didn't fail fortunately because this file actually didn't need
liboyranos.so (-loyranos).
Try: TEMP.c as
------------------------------------------------------------------------
#include <png.h>

int main(){
	png_sig_cmp(0, 0, 0);
	return 0;
}
-------------------------------------------------------------------------
and
-------------------------------------------------------------------------
[tasaka1@localhost TEMP]$ LANG=C gcc -o TEMP__ TEMP.c -lpng
[tasaka1@localhost TEMP]$ LANG=C gcc -o TEMP__ TEMP.c -L -lpng
/tmp/ccuLIQFO.o: In function `main':
TEMP.c:(.text+0x29): undefined reference to `png_sig_cmp'
collect2: ld returned 1 exit status
--------------------------------------------------------------------------

So would you try tricks written on
http://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks
or what I said on comment 26?

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]