[Bug 494986] Review Request: mysqludf_xql - MySQL UDF library for XML output

[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.


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





--- Comment #8 from Yanko Kaneti <yaneti@xxxxxxxxxxx>  2009-05-08 08:06:37 EDT ---
(In reply to comment #7)
> Yanko: you don't need to call ldconfig; you're not installing a library, just a
> shared object.

Empirical evdence doesn't agree, (test rpm without ldconfig):
# service mysqld start
Starting MySQL:                                            [  OK  ]
[root@f10test ~]# rpm -Uhv
/home/rpmbuild/rpmbuild/RPMS/i386/mysqludf_xql-0.9.7-8.fc10.i386.rpm
Preparing...                ########################################### [100%]
   1:mysqludf_xql           ########################################### [100%]
[root@f10test ~]# mysql mysql -e 'CREATE FUNCTION lib_mysqludf_xql_info RETURNS
STRING SONAME "lib_mysqludf_xql.so";'
ERROR 1126 (HY000) at line 1: Can't open shared library 'lib_mysqludf_xql.so'
(errno: 22 lib_mysqludf_xql.so: cannot open shared object file: No such file or
directory)
[root@f10test ~]# ldconfig 
[root@f10test ~]# mysql mysql -e 'CREATE FUNCTION lib_mysqludf_xql_info RETURNS
STRING SONAME "lib_mysqludf_xql.so";'
[root@f10test ~]# 


> rm -rf $RPM_BUILD_ROOT/%{myplugdir}/*.{a,la}
> Why do you call a recursive rm here?

Just a habit. Doubt it will hurt anything, but the -r  can be removed.

> Isn't it possible to avoid build of the static library by passing
> --disable-static to configure?

not completely sufficient, thus just additional baggage.
error: Installed (but unpackaged) file(s) found:
   /usr/lib/mysql/lib_mysqludf_xql.la

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
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]