LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2008, 08:48 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
how to create a symbolic link in a rpm


What is the best way to create a symbolic link in a rpm?

I created symbolic link in the %pre section in a .spec file but there is an error during installation:

%pre server
%{_sbindir}/groupadd -r -g %{sshd_gid} sshd 2>/dev/null || :
%{_sbindir}/useradd -d /var/empty/sshd -s /bin/false -u %{sshd_uid} \
-g sshd -M -r sshd 2>/dev/null || :
ln -s -f /usr/lib/libcrypto.so.0 /usr/lib/libcrypto.so.2


# rpm -Uvh app_server-server-4.9.9-9.i386.rpm
error: failed dependencies:
libcrypto.so.2 is needed by app_server-server-4.9.9-9
 
Old 04-30-2008, 10:24 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Is this a .spec file for OpenSSH? If it is, why not use the default one? And why would you muck with a library that is not in the OpenSSH but OpenSSL package? Is this some workaround for a dependency you don't have? Please explain.
 
  


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
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 07:40 AM
Can't create symbolic link to foxfire kiasta Ubuntu 4 01-01-2007 02:25 PM
How do I create a symbolic link? Arenba Linux - Newbie 4 09-29-2003 10:40 AM
How to create a Symbolic Link? sikandar Linux - Software 6 09-09-2003 11:41 AM
how do I create a symbolic link? rdaves@earthlink.net Linux - Newbie 2 05-23-2001 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 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