[ opensips-Bugs-2818243 ] "make deb" but opensipsdbctl looks in /usr/local/

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Bugs-2818243 ] "make deb" but opensipsdbctl looks in /usr/local/

SourceForge.net
Bugs item #2818243, was opened at 2009-07-07 23:54
Message generated for change (Comment added) made by ibc_sf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2818243&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz Castillo (ibc_sf)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: "make deb" but opensipsdbctl looks in /usr/local/

Initial Comment:
I install OpenSIPS trunk by "make deb", but when running "opensipsdbctl" I get this error:

-------------
ERROR: could not load the script in /usr/local/lib64/opensips/opensipsctl/opensipsdbctl.mysql for database engine MYSQL
ERROR: database engine not loaded - tried 'MYSQL'
-------------

Of course, the correct path in which that file is is the following:
  /usr/lib64/opensips/opensipsctl/


----------------------------------------------------------------------

>Comment By: Iñaki Baz Castillo (ibc_sf)
Date: 2009-07-21 12:30

Message:
It seems to be the expected (and correct one):

if [ -z "$MYLIBDIR" ] ; then
        MYLIBDIR="/usr/lib/opensips/opensipsctl"
        if [ ! -d "$MYLIBDIR" ]; then
                MYLIBDIR=$MYDIR
        fi
fi


----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-07-21 11:37

Message:
Hi Inaki,

could you post here, from the /usr/sbin/opensipsdbctl file, the code
chunk:

if [ -z "$MYLIBDIR" ] ; then
        MYLIBDIR="................"
        if [ ! -d "$MYLIBDIR" ]; then
                MYLIBDIR=$MYDIR
        fi
fi


I'm interested in the value of MYLIBDIR variable for your installation.

Regards,
Bogdan


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2818243&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel