LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-20-2018, 02:32 PM   #1
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Rep: Reputation: 45
Problem with c_rehash


Hi,

Tried to install some certificates for Citrix and the c_rehash command exits with following error:
Code:
String found where operator expected at /usr/bin/c_rehash line 15, near "ssl"""
String found where operator expected at /usr/bin/c_rehash line 16, near "usr"""
syntax error at /usr/bin/c_rehash line 15, near "ssl"""
syntax error at /usr/bin/c_rehash line 16, near "usr"""
Execution of /usr/bin/c_rehash aborted due to compilation errors.
Problem can be solved by changing line 15 and 16 from:

Code:
my $dir = ""/etc/ssl""; 
my $prefix = ""/usr"";
to

Code:
my $dir = "/etc/ssl";
my $prefix = "/usr";
Kr
Mel
 
Old 08-20-2018, 03:15 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
this most probably happens because in the new openssl version they fixed the quoting in that file that was previously broken (the patch isn't necessary anymore)

https://www.linuxquestions.org/quest...ml#post5853535
 
Old 08-20-2018, 03:23 PM   #3
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by ponce View Post
this most probably happens because in the new openssl version they fixed the quoting in that file that was previously broken (the patch isn't necessary anymore)

https://www.linuxquestions.org/quest...ml#post5853535
I forgot to mention im running the latest current and it seems this issue popped up again after the openssl update on the 14th of august.

Sorry bout that!

Kr Mel
 
Old 08-20-2018, 05:59 PM   #4
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Code:
bash-4.4# c_rehash
String found where operator expected at /usr/bin/c_rehash line 15, near "ssl"""
String found where operator expected at /usr/bin/c_rehash line 16, near "usr"""
syntax error at /usr/bin/c_rehash line 15, near "ssl"""
syntax error at /usr/bin/c_rehash line 16, near "usr"""
Execution of /usr/bin/c_rehash aborted due to compilation errors.
On up to date slackware-current. I confirm that this command is broken.
 
Old 08-21-2018, 12:50 AM   #5
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by ponce View Post
this most probably happens because in the new openssl version they fixed the quoting in that file that was previously broken (the patch isn't necessary anymore)

https://www.linuxquestions.org/quest...ml#post5853535
You were correct Ponce, after rebuilding openssl without the Patch it is ok. It can be removed.

Kr
Mel
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI problem, GRUB2 problem, blank screen problem, :( JackDinn Linux - Newbie 22 05-26-2015 01:57 PM
Do I have a path problem, an Apache2 problem or a Javascript problem or any other pro rblampain Linux - Networking 0 12-29-2010 03:50 AM
no c_rehash centos sycamorex Linux - Software 2 02-01-2008 07:34 PM
what is c_rehash vikasumit Linux - Software 1 05-20-2006 05:42 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration