#!/bin/sh
#*****************************************************************************
# * FreeAdhocUDF - copyright (c) 2004 - 2010 adhoc dataservice GmbH
# * Christoph Theuring ct / Peter Mandrella pm / Georg Horn gh
# * <http://freeadhocudf.org> eMail <help@freeadhocudf.org>
# * based on FreeUDFLibC - copyright (c) 1999 Gregory Deatz
# *
# * File Name:   create_icu-symlinks_for_using.sh
# * Description: this script creates the necessary symbolic links for icu-libs
# *              for USING FreeAdhocUDF
# *
# * This file is part of FreeAdhocUDF.
# * FreeAdhocUDF is free software: you can redistribute it and/or modify
# * it under the terms of the GNU Lesser General Public License as published by
# * the Free Software Foundation, either version 3 of the License, or
# * (at your option) any later version.
# *
# * FreeAdhocUDF is distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# * GNU Lesser General Public License for more details.
# *                                   
# * You should have received a copy of the GNU Lesser General Public License
# * along with FreeAdhocUDF.  If not, see <http://www.gnu.org/licenses/>.
# ****************************************************************************/
# PLEASE READ FIRST !!!!!!!
# check with "ldd /opt/firebird/UDF/FreeAdhocUDF.so" the location of libib_util.so
# the symbolic links below BEST placed in the same folder than libib_util.so
# the commands below are examples for the location /usr/lib
# if YOUR location of libib_util.so is NOT /usr/lib, please adapt the commands  
ln -s /opt/firebird/lib/libicudataFAU.so.44.2 /usr/lib/libicudataFAU.so.44
ln -s /opt/firebird/lib/libicui18nFAU.so.44.2 /usr/lib/libicui18nFAU.so.44
ln -s /opt/firebird/lib/libicuioFAU.so.44.2 /usr/lib/libicuioFAU.so.44
ln -s /opt/firebird/lib/libicuucFAU.so.44.2 /usr/lib/libicuucFAU.so.44
echo done
