Why am I receiving "Send 2 ()" errors when I try to connect to the MATLAB Web Server 1.2.3 (R14) on Linux?

1 view (last 30 days)
When I try to run one of the demo examples of the MATLAB Web Server on Redhat Linux, I receive one of the following errors:
Error: Send 2 () Error: 32
Error: recv1() error: 104
Inspecting my error log, I see the warning:
libgcc_s.so.1 must be installed for pthread_cancel to work

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There is a conflict between the libgcc_s.so.1 library that ships with MATLAB and the libgcc_s.so.1 library installed on machines running Redhat Linux 9.0. To work around this issue, use the following steps:
1. Open the file matlabserver.conf for editing. This file can be found in the directory:
$MATLAB/webserver
where $MATLAB is the root directory of your MATLAB installation.
2. Add the following line to the file:
LIBRARY_PATH=/lib:$LIBRARY_PATH
3. Save the file and restart the MATLAB Web Server
This will cause the MATLAB Web Server to see the system version of the libgcc_so.so.1 library.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!