Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ba1ac55a
Commit
ba1ac55a
authored
Aug 16, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#20219 make bin-dist produces unportable for testing tarball
- Setup LD_LIBRARY_PATH to favor local libs
parent
c8b93da3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+17
-12
No files found.
mysql-test/mysql-test-run.pl
View file @
ba1ac55a
...
...
@@ -1178,28 +1178,33 @@ sub executable_setup () {
sub
environment_setup
()
{
my
$extra_ld_library_paths
;
# --------------------------------------------------------------------------
#
We might not use a standard installation directory, like /usr/lib.
#
Set LD_LIBRARY_PATH to make sure we find our installed libraries.
#
Setup LD_LIBRARY_PATH so the libraries from this distro/clone
#
are used in favor of the system installed ones
# --------------------------------------------------------------------------
unless
(
$opt_source_dist
)
if
(
$opt_source_dist
)
{
$ENV
{'
LD_LIBRARY_PATH
'}
=
"
$glob_basedir
/lib
"
.
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
$ENV
{'
DYLD_LIBRARY_PATH
'}
=
"
$glob_basedir
/lib
"
.
(
$ENV
{'
DYLD_LIBRARY_PATH
'}
?
"
:
$ENV
{'DYLD_LIBRARY_PATH'}
"
:
"");
$extra_ld_library_paths
=
"
$glob_basedir
/libmysql/.libs/
";
}
else
{
$extra_ld_library_paths
=
"
$glob_basedir
/lib
";
}
# --------------------------------------------------------------------------
# Add the path where mysqld will find udf_example.so
# --------------------------------------------------------------------------
$extra_ld_library_paths
.=
"
:
"
.
(
$lib_udf_example
?
dirname
(
$lib_udf_example
)
:
"");
$ENV
{'
LD_LIBRARY_PATH
'}
=
(
$lib_udf_example
?
dirname
(
$lib_udf_example
)
:
"")
.
"
$extra_ld_library_paths
"
.
(
$ENV
{'
LD_LIBRARY_PATH
'}
?
"
:
$ENV
{'LD_LIBRARY_PATH'}
"
:
"");
$ENV
{'
DYLD_LIBRARY_PATH
'}
=
"
$extra_ld_library_paths
"
.
(
$ENV
{'
DYLD_LIBRARY_PATH
'}
?
"
:
$ENV
{'DYLD_LIBRARY_PATH'}
"
:
"");
# --------------------------------------------------------------------------
# Also command lines in .opt files may contain env vars
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment